public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: rwhron@earthlink.net
To: linux-kernel@vger.kernel.org
Cc: andrea@suse.de
Subject: Effect of changing normal memory zone size and dbench on 2.4.17rc2aa2
Date: Fri, 21 Dec 2001 15:02:57 -0500	[thread overview]
Message-ID: <20011221150257.A1168@earthlink.net> (raw)

Kernel:		2.4.17rc2aa2

Test:		Change highmem settings - run dbench 32, 128.

Conclusion:	More "normal" memory gives better dbench throughput 
		on box with 1024MB ram.

I noticed the 3.5 GB User Address Space setting in the 
Andrea Arcangeli's 2.4.17rc2aa2 and thought maybe it was
a way to have 1GB (or more) RAM and not use highmem.  It
obviously has a different purpose, but it led me to run
dbench to see how throughput changes when highmem is a 
larger or smaller portion of memory.

highmem
-------
CONFIG_HIGHMEM4G=y
CONFIG_HIGHMEM=y

This configuration had excellent numbers.  Highmem is 128M.

Memory: 1029848k/1048512k available (1053k kernel code, 18276k reserved, 260k data, 240k init, 131008k highmem)

dbench
Throughput 82.4374 MB/sec (NB=103.047 MB/sec  824.374 MBit/sec)  32 procs
Throughput 42.1931 MB/sec (NB=52.7413 MB/sec  421.931 MBit/sec)  128 procs


3.5 gb user address space
-------------------------
CONFIG_HIGHMEM4G=y
CONFIG_HIGHMEM=y
CONFIG_05GB=y

Here Highmem is 640MB.  Throughput for dbench 32 is 31% lower than normal highmem.
dbench 128 throughput was 42% lower.

Memory: 1029848k/1048512k available (1053k kernel code, 18276k reserved, 260k data, 240k init, 655296k highmem)

dbench
Throughput 56.9061 MB/sec (NB=71.1327 MB/sec  569.061 MBit/sec)  32 procs
Throughput 24.4228 MB/sec (NB=30.5285 MB/sec  244.228 MBit/sec)  128 procs


nohighmem
---------
CONFIG_NOHIGHMEM=y

With nohighmem, total memory drops to 896MB.  Nonetheless, dbench 32 was
9% higher.  The dbench 128 throughput was < 1% lower, which is not 
significant for this test.

Memory: 901804k/917504k available (1049k kernel code, 15312k reserved, 259k data, 236k init, 0k highmem)

dbench
Throughput 90.0235 MB/sec (NB=112.529 MB/sec  900.235 MBit/sec)  32 procs
Throughput 41.805 MB/sec (NB=52.2563 MB/sec  418.05 MBit/sec)  128 procs


Hardware:
1333 Athlon
1024 MB RAM
1027 MB swap

P.S. Andrea, enjoy your holidays!

-- 
Randy Hron


                 reply	other threads:[~2001-12-21 20:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20011221150257.A1168@earthlink.net \
    --to=rwhron@earthlink.net \
    --cc=andrea@suse.de \
    --cc=linux-kernel@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