Re: Cached file read performance

2006-12-22 Thread David Xu
On Saturday 23 December 2006 03:29, Alexander Leidinger wrote: > I want to point out http://www.freebsd.org/projects/ideas/#p-memcpy > here. Just in case someone wants to play around a little bit. > > Bye, > Alexander. I have read the code, if a buffer is not aligned at 16 bytes boundary, it will

Re: Cached file read performance

2006-12-22 Thread Mark Kirkwood
Bruce Evans wrote: None was attached. (meaning the c prog yes?) I notice that it is stripped out from the web archive... so here's a link: http://homepages.paradise.net.nz/markir/download/freebsd/readtest.c Machines - ufs2 32k blocksize, 4K fragments ^^ T

Re: Cached file read performance

2006-12-22 Thread Alexander Leidinger
Quoting Bruce Evans <[EMAIL PROTECTED]> (Fri, 22 Dec 2006 23:37:53 +1100 (EST)): > On Fri, 22 Dec 2006, Adrian Chadd wrote: > > > On 22/12/06, David Xu <[EMAIL PROTECTED]> wrote: > > > >> I suspect in such a test, memory copying speed will be a key factor, > >> I don't have number to back up my

Re: Cached file read performance

2006-12-22 Thread Bruce Evans
On Fri, 22 Dec 2006, Adrian Chadd wrote: On 22/12/06, David Xu <[EMAIL PROTECTED]> wrote: I suspect in such a test, memory copying speed will be a key factor, I don't have number to back up my idea, but I think Linux has lots of tweaks, such as using MMX instruction to copy data. I had the o

Re: Cached file read performance

2006-12-22 Thread Bruce Evans
On Fri, 22 Dec 2006, Mark Kirkwood wrote: I recently did some testing on the performance of cached reads using two (almost identical) systems, one running FreeBSD 6.2PRE and the other running Gentoo Linux - the latter acting as a control. I initially started a thread of the same name on -stabl