howto boost write(2) performance?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Stiller
Date: Tuesday, October 9, 2007 - 6:50 am

Hi list,

i'm developing an application (in C) which needs to write about 
1Gbit/s (125Mb/s) to a disk array attached via U320 SCSI. 
It runs on Dual Core 2 Xeons @2Ghz utilizing kernel 2.6.22.7. 

I buffer the data in (currently 4) 400Mb buffers and use write(2) in a
dedicated thread to write them to the raw disk (no fs). 

The write(2) performance is not good enough, the writer threads take to
much time, and i ask you for ideas, howto to boost the write
performance. 

Maybe mmaping the disk would work? 

Cheers,

-Michael

PS. I would like to be cc'd as i usually don't read the list due to high
traffic.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: howto boost write(2) performance?, Nick Piggin, (Tue Oct 9, 3:25 am)
howto boost write(2) performance?, Michael Stiller, (Tue Oct 9, 6:50 am)
Re: howto boost write(2) performance?, Gustavo Chain, (Tue Oct 9, 7:19 am)
Re: howto boost write(2) performance?, Andi Kleen, (Tue Oct 9, 7:56 am)
Re: howto boost write(2) performance?, Boaz Harrosh, (Tue Oct 9, 8:42 am)
Re: howto boost write(2) performance?, Michael Tokarev, (Tue Oct 9, 9:26 am)
Re: howto boost write(2) performance?, Michael Stiller, (Tue Oct 9, 11:26 pm)
Re: howto boost write(2) performance?, Michael Stiller, (Thu Oct 11, 6:50 am)
Re: howto boost write(2) performance?, Bill Davidsen, (Wed Oct 17, 3:19 pm)