mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Andrea Arcangeli <andrea@suse.de>
Cc: "Stephen C. Tweedie" <sct@redhat.com>,
	Linus Torvalds <torvalds@transmeta.com>,
	linux-kernel@vger.kernel.org
Subject: Re: 2 times faster rawio and several fixes (2.4.3aa3)
Date: Fri, 6 Apr 2001 19:02:32 +0200	[thread overview]
Message-ID: <20010406190232.A20258@gruyere.muc.suse.de> (raw)
In-Reply-To: <20010406183440.B28118@athlon.random> <20010406190701.H28118@athlon.random>
In-Reply-To: <20010406190701.H28118@athlon.random>; from andrea@suse.de on Fri, Apr 06, 2001 at 07:07:01PM +0200

On Fri, Apr 06, 2001 at 07:07:01PM +0200, Andrea Arcangeli wrote:
> However we can probably stay with the 512k atomic I/O otherwise the iobuf
> structure will grow again of an order of 2. With 512k of atomic I/O the kiovec
> structure is just 8756 in size (infact probably I should allocate some of the
> structures dynamically instead of statics inside the kiobuf.. as it is now
> with my patch it's not very reliable as it needs an allocation of order 2).

8756bytes wastes most of an order 2 allocation. Wouldn't it make more sense to 
round it up to 16k to use the four pages fully ?  (if the increased atomic
size doesn't have other bad effects -- i guess it's no problem anymore to 
lock down that much memory?) 

-Andi


  reply	other threads:[~2001-04-06 17:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-06 16:34 Andrea Arcangeli
2001-04-06 17:07 ` Andrea Arcangeli
2001-04-06 17:02   ` Andi Kleen [this message]
2001-04-06 17:36     ` Andrea Arcangeli
2001-04-06 18:22       ` Andrea Arcangeli

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=20010406190232.A20258@gruyere.muc.suse.de \
    --to=ak@suse.de \
    --cc=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sct@redhat.com \
    --cc=torvalds@transmeta.com \
    /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®