Re: Trying to measure performance with splice/vmsplice ....

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rick Sherm
Date: Friday, April 23, 2010 - 9:07 am

Hello Jens - any assistance/pointers on 1) and 2) below 
will be great.I'm willing to test out any sample patch.

Steve,

--- On Wed, 4/21/10, Steven J. Magnani <steve@digidescorp.com> wrote:

True.I guess I should have looked harder. It's xfs and xfs's->file_ops points to 'generic_file_splice_read[write]'.Last time I had to 'fdatasync' and then fadvise to mimic 'O_DIRECT'.


Agreed,increasing number of calls will offset the benefit.
But what if:
1)We were to increase the PIPE_BUFFERS from '16' to '64' or 'some value'?
What are the implications in the other parts of the kernel?
2)There was a way to find out if the DMA-out/in from the initial buffer's that were passed are complete so that we are free to recycle them? Callback would be helpful.Obviously, the user-space-app will have to manage it's buffers but atleast we are guranteed that the buffers can be recycled(in other words no worrying about modifying in-flight data that is being DMA'd).


regards
++Rick



      

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

Messages in current thread:
Re: Trying to measure performance with splice/vmsplice ...., Rick Sherm, (Fri Apr 23, 9:07 am)
Re: Trying to measure performance with splice/vmsplice ...., Steven J. Magnani, (Fri Apr 23, 9:54 am)