login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
25
Re: question about splice performance
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jeff Garzik <jeff@...>
To: Francis Moreau <francis.moro@...>
Cc: <linux-kernel@...>, <jens.axboe@...>
Subject:
Re: question about splice performance
Date: Sunday, May 25, 2008 - 4:47 pm
Francis Moreau wrote:
quoted text
> 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 ?
If you drop caches you are not measuring splice speed. Use ramfs for your tests (guarantees data is in cache) instead. Jeff --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
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)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Tejun Heo
[PATCH 2/5] sysfs: simplify sysfs_rename_dir()
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Mark Weber
hdparm standby timeout not working for WD raptors?
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Hugh Dickins
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
770 guests
online.
Syndicate