public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: Martijn van Oosterhout <kleptog@svana.org>
Cc: Mandeep Sandhu <Mandeep_Sandhu@infosys.com>,
	dima@s2io.com, Jeff Garzik <jgarzik@pobox.com>,
	linux-newbie@vger.kernel.org, linux-net@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	kernelnewbies <kernelnewbies@nl.linux.org>
Subject: Re: zero copy issue while receiving the data (counter part of sendfil e)
Date: Wed, 22 Dec 2004 11:06:27 -0500	[thread overview]
Message-ID: <20041222160625.GB19449@tuxdriver.com> (raw)
In-Reply-To: <20041222155003.GA29278@svana.org>

On Wed, Dec 22, 2004 at 04:50:05PM +0100, Martijn van Oosterhout wrote:

> Generally, reading from memory takes time because the CPU has to wait,
> writing is free since it can be deferred in the cache (in theory
> indefinitly) until there's free cycle.

I'm not sure I'd call that "free" -- executing the instructions for
the write has a non-zero cost.

Still, it is significantly cheaper than the read...

John
-- 
John W. Linville
linville@tuxdriver.com

      reply	other threads:[~2004-12-22 16:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-21 16:35 zero copy issue while receiving the data (counter part of sen dfil e) Rajat  Jain, Noida
2004-12-21 17:22 ` Dmitry Yusupov
2004-12-21 19:30   ` Jeff Garzik
2004-12-21 19:43     ` Dmitry Yusupov
2004-12-22  8:21       ` zero copy issue while receiving the data (counter part of sendfil e) Mandeep Sandhu
2004-12-22 15:50         ` Martijn van Oosterhout
2004-12-22 16:06           ` John W. Linville [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041222160625.GB19449@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=Mandeep_Sandhu@infosys.com \
    --cc=dima@s2io.com \
    --cc=jgarzik@pobox.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=kleptog@svana.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox