public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: linux-ia64@vger.kernel.org
Subject: Increasing swiotlb default
Date: Thu, 24 Jun 2004 19:27:54 +0000	[thread overview]
Message-ID: <20040624212754.7dd1d68e.ak@suse.de> (raw)


Hallo,

I discovered that swiotlb defaults to using only 2MB of RAM by default. That's IMHO
far too small, especially since the consequences of overflow are so severe
(panic) x86-64 has the same problem because it shares this code.

This patch increases it to 64MB by default.

-Andi

diff -u linux/arch/ia64/lib/swiotlb.c-o linux/arch/ia64/lib/swiotlb.c
--- linux/arch/ia64/lib/swiotlb.c-o	2004-04-06 13:12:00.000000000 +0200
+++ linux/arch/ia64/lib/swiotlb.c	2004-06-24 21:04:08.000000000 +0200
@@ -44,7 +44,7 @@
 /*
  * log of the size of each IO TLB slab.  The number of slabs is command line controllable.
  */
-#define IO_TLB_SHIFT 11
+#define IO_TLB_SHIFT 16
 
 /*
  * Used to do a quick range check in swiotlb_unmap_single and swiotlb_sync_single_*, to see

             reply	other threads:[~2004-06-24 19:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-24 19:27 Andi Kleen [this message]
2004-06-26  5:08 ` Increasing swiotlb default David Mosberger

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=20040624212754.7dd1d68e.ak@suse.de \
    --to=ak@suse.de \
    --cc=linux-ia64@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