Re: patch: improve generic_file_buffered_write() (2nd try 1/2)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <nickpiggin@...>
Cc: Goswin von Brederlow <brederlo@...>, Bernd Schubert <bs@...>, Randy Dunlap <randy.dunlap@...>, <linux-kernel@...>, J. Bruce Fields <bfields@...>, <brian@...>
Date: Friday, September 7, 2007 - 5:12 pm

Nick Piggin <nickpiggin@yahoo.com.au> writes:


Can you tell me where to get the fix from -mm? If it is completly
fixed there then that could make our patch obsolete.


Those are extremly costly for lustre. We have tested exporting a
lustre filesystem to NFS. Without fixes we get 40MB/s and with the
fixes it rises to nearly 200MB/s. That is a factor of 5 in speed.


Then that means __grab_cache_page does return a locked page because
there is nothing between the two calls that would.


Actually due to a bug, as you noticed, we do the copy first and then
prepare/write. But fixing that would indeed do multiple copies between
prepare and commit.


I'm verry interested in that fix.


I've got userspace application doing the writev. To be exact 14% of
the commits were saved by combining multiple segments into a single
prepare/write pair. Since the kernel segments don't fragment anymore
in 2.6.23-rc5 those savings must come from user space stuff.

amount of calls with 6 segments all (alot) smaller than a page. Lots
of calls our patch or the write_begin/end will save.

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

Messages in current thread:
Re: patch: improve generic_file_buffered_write() (2nd try 1/2), Goswin von Brederlow, (Fri Sep 7, 5:12 pm)
Re: patch: improve generic_file_buffered_write() (2nd try 1/2), Goswin von Brederlow, (Sat Sep 8, 5:43 am)