login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
17
Re: Fast network file copy; "recvfile()" ?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Jan Engelhardt <jengelh@...>
To: Patrick J. LoPresti <lopresti@...>
Cc: linux-kernel <linux-kernel@...>
Subject:
Re: Fast network file copy; "recvfile()" ?
Date: Thursday, January 17, 2008 - 6:38 pm
On Jan 17 2008 12:53, Patrick J. LoPresti wrote:
quoted text
>Using 10GigE cards and the usual tweaks to tcp_rmem etc., I am >getting single-stream TCP throughput better than 600 MB/sec.
Hm, be aware not to hit the sequence wrap :)
quoted text
>1) O_DIRECT read() + send() >2) mmap() + madvise(WILLNEED) + send() >3) fadvise(WILLNEED) + sendfile() > >I am leaning towards (3), since I gather that sendfile() is supposed >to be pretty fast. > >My question is what to do on the receiving end. In short, if I want >the equivalent of a "recvfile()" to go with sendfile(), what is my >best bet on Linux?
splice() I think. --
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:
Fast network file copy; "recvfile()" ?
, Patrick J. LoPresti
, (Thu Jan 17, 4:53 pm)
Re: Fast network file copy; "recvfile()" ?
, dean gaudet
, (Mon Jan 21, 2:29 pm)
Re: Fast network file copy; "recvfile()" ?
, Jan Engelhardt
, (Thu Jan 17, 6:38 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
Andrew Morton
-mm merge plans for 2.6.23
Can E. Acar
Re: Wasting our Freedom
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
PJ Waskiewicz
[ANNOUNCE] ixgbe: Data Center Bridging (DCB) support for ixgbe
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
836 guests
online.
Online users
zeekec
Jeremy
redchiplawyer
Syndicate