[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <38b2ab8a0805250812l2ecd424bh74a1694ed56460de@mail.gmail.com>
Date: Sun, 25 May 2008 17:12:06 +0200
From: "Francis Moreau" <francis.moro@...il.com>
To: linux-kernel@...r.kernel.org
Cc: jens.axboe@...cle.com
Subject: question about splice performance
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists