All of lore.kernel.org
 help / color / mirror / Atom feed
* question about splice performance
@ 2008-05-25 15:12 Francis Moreau
  2008-05-25 15:40 ` Jan Engelhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Francis Moreau @ 2008-05-25 15:12 UTC (permalink / raw)
  To: linux-kernel; +Cc: jens.axboe

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-05-26  9:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-25 15:12 question about splice performance Francis Moreau
2008-05-25 15:40 ` Jan Engelhardt
2008-05-25 17:22 ` Sitsofe Wheeler
2008-05-25 20:47 ` Jeff Garzik
2008-05-26  8:57   ` Francis Moreau
2008-05-26  9:06     ` Bernd Petrovitsch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.