Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "Corey McGuire" <coreyfro@coreyfro.com>
To: Ricky Beam <jfbeam@bluetronic.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: Show me the cache, was Mirroring swap
Date: Fri, 27 Jun 2003 11:04:27 -0700	[thread overview]
Message-ID: <200306271104270562.57541D29@shargaas.coreyfro.com> (raw)
In-Reply-To: <Pine.GSO.4.33.0306271209220.7750-100000@sweetums.bluetronic.net>

>"Unlike windows"?  Do you even *use* windows?  Windows has had the same
>filesystem caching capability as linux for many years now.  Linux is a lot
>more lax about what it'll keep in memory -- basically, cache pages will
>not be pushed out until something needs the memory (application or another
>cache page.)  Windows limits the ammount of cached space and tends to dump
>things a great deal faster...

Dude, that is what I said.

What I said was windows gives up way too quickly.  What I did not say is
that it doesn't cache at all, which would be insane.  Windows NT's memory
manglement is "pretty good" apart from its forgetfulness.

What is most annoying is there are hooks for tweaking cache size, but even
then, windows doesn't listen.  The only options in the windows registry
that have any lasting effects are these.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management]
"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000001

The first one doesn't even effect cache, it just doesn't swap the kernel,
which greatly reduces the load on the cache.  "LargeSystemCache" hardly
helps, as it basicly tells Windows "yes, all RAM _CAN_ be used for cache"
instead of just a paultry 4MB.  Does this help?  Yeah, my 512MB machine is
currently using 18MB's of cache.

There are cache replacements on the web, but most are overpriced for what
they do.  Any free cache program is bogus (like system internal's cacheset)
because they use system calls that are most often ignored and frequently
reset, at least, from what I have seen in my attempts to make Windows NT
cache intelligently.



/\/\/\/\/\/\ Nothing is foolproof to a talented fool. /\/\/\/\/\/\

coreyfro@coreyfro.com
http://www.coreyfro.com/
http://stats.distributed.net/rc5-64/psummary.php3?id=196879
ICQ : 3168059

-----BEGIN GEEK CODE BLOCK-----
GCS d--(+) s: a-- C++++$ UBL++>++++ P+ L+ E W+++$ N+ o? K? w++++$>+++++$
O---- !M--- V- PS+++ PE++(--) Y+ PGP- t--- 5(+) !X- R(+) !tv b-(+)
Dl++(++++) D++ G+ e>+++ h++(---) r++>+$ y++*>$ H++++ n---(----) p? !au w+
v- 3+>++ j- G'''' B--- u+++*** f* Quake++++>+++++$
------END GEEK CODE BLOCK------

Home of Geek Code - http://www.geekcode.com/
The Geek Code Decoder Page - http://www.ebb.org/ungeek//


  reply	other threads:[~2003-06-27 18:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-25 19:39 Mirroring swap Derek Yeung
2003-06-26  7:07 ` Riley Williams
2003-06-26  7:30   ` Matti Aarnio
2003-06-26  8:30   ` Gordon Henderson
2003-06-26 21:23     ` Gregory Leblanc
2003-06-26 21:44       ` Corey McGuire
2003-06-27  1:56         ` Scott McDermott
2003-06-27  2:14           ` Corey McGuire
2003-06-27  2:24             ` Scott McDermott
     [not found]               ` <200306261957360966.057B8F63@ilneval.coreyfro.com>
2003-06-27  3:22                 ` Corey McGuire
2003-06-27 16:17                   ` Ricky Beam
2003-06-27 18:04                     ` Corey McGuire [this message]
2003-06-27 18:24                       ` Show me the cache, was " Ricky Beam
2003-06-27 23:31                         ` Corey McGuire
2003-06-27  8:49       ` Gordon Henderson
2003-06-26  9:46 ` Scott McDermott

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=200306271104270562.57541D29@shargaas.coreyfro.com \
    --to=coreyfro@coreyfro.com \
    --cc=jfbeam@bluetronic.net \
    --cc=linux-raid@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