mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Herbert Poetzl <herbert@13thfloor.at>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org, Steve French <smfltc@us.ibm.com>
Subject: Re: [PATCH 4/4] copyfile: copyfile
Date: Thu, 9 Sep 2004 17:04:33 +0200	[thread overview]
Message-ID: <20040909150432.GA15888@MAIL.13thfloor.at> (raw)
In-Reply-To: <20040907152118.GA30396@wohnheim.fh-wedel.de>

On Tue, Sep 07, 2004 at 05:21:18PM +0200, Jörn Engel wrote:
> On Tue, 7 September 2004 07:59:11 -0700, Linus Torvalds wrote:
> > On Tue, 7 Sep 2004, Jörn Engel wrote:
> > > 
> > > Does that mean that you're ok with the first three patches?
> > 
> > No, it means that they weren't fundamentally flawed..
> 
> It's a start...
> 
> > Actually, the 4kB batching one was - if you only max out to using 4kB at a 
> > time, sendfile() is kind of pointless, because then it will never do 
> > multi-page copies in the first place, and all the complexity at a lower 
> > level is worthless..
> 
> Give me a better number.  16k?  1M?  Or would it not be fundamentally
> flawed if the unit was seconds, instead of bytes?  That makes a lot
> more sense, since a floppy and a Ultra320 RAID array differ slightly
> in speed and it's response time the users actually care about.

maybe the 'block/buffer' size could be passed with the
syscall (maybe with a kernel default), allowing dumb tools 
to use a fixed value and smart ones, exactly what the user 
desires ...

best,
Herbert

> Jörn
> 
> -- 
> /* Keep these two variables together */
> int bar;
> -
> 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/

  parent reply	other threads:[~2004-09-09 15:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-07 12:09 [PATCH 1/4] copyfile: generic_sendpage Jörn Engel
2004-09-07 12:11 ` [PATCH 2/4] copyfile: sendfile Jörn Engel
2004-09-07 12:12   ` [PATCH 3/4] copyfile: sendfile_loop Jörn Engel
2004-09-07 12:15     ` [PATCH 4/4] copyfile: copyfile Jörn Engel
2004-09-07 14:06       ` Linus Torvalds
2004-09-07 14:19         ` Anton Altaparmakov
2004-09-07 14:51         ` Jörn Engel
2004-09-07 14:59           ` Linus Torvalds
2004-09-07 15:21             ` Jörn Engel
2004-09-07 15:28               ` Linus Torvalds
2004-09-09 15:04               ` Herbert Poetzl [this message]
2004-09-08 17:09         ` Steve French
2004-09-07 15:32 ` [PATCH 1/4] copyfile: generic_sendpage David Woodhouse

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=20040909150432.GA15888@MAIL.13thfloor.at \
    --to=herbert@13thfloor.at \
    --cc=akpm@osdl.org \
    --cc=joern@wohnheim.fh-wedel.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=smfltc@us.ibm.com \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®