question about splice performance

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: <jens.axboe@...>
Date: Sunday, May 25, 2008 - 11:12 am

Hi,

I did a really basic benchmark and was suprise about the results.

$ echo 3 > /proc/sys/vm/drop_caches
$ time  splice-cp  vmlinux /tmp/vmlinux

real    0m10.158s
user    0m0.002s
sys     0m0.401s

$ echo 3 > /proc/sys/vm/drop_caches
$ time  cp  vmlinux /tmp/vmlinux

real    0m10.590s
user    0m0.017s
sys     0m0.459s


I was expecting splice-cp case to be faster.

Could someone enlight me ?

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

Messages in current thread:
question about splice performance, Francis Moreau, (Sun May 25, 11:12 am)
Re: question about splice performance, Jeff Garzik, (Sun May 25, 4:47 pm)
Re: question about splice performance, Francis Moreau, (Mon May 26, 4:57 am)
Re: question about splice performance, Bernd Petrovitsch, (Mon May 26, 5:06 am)
Re: question about splice performance, Jan Engelhardt, (Sun May 25, 11:40 am)