* /proc/sys/vm/freepages
@ 1997-07-29 12:56 Stefan Boresch
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Boresch @ 1997-07-29 12:56 UTC (permalink / raw)
In reply to a previous post of mine, Michal Jaegermann wrote:
>> However, since upgrading
>> the kernel I had already one system crash when a paging request could not
>> be fulfilled. (This happened while gzipping -9 a 25MB file)
> Most likely you run into a known (this is not Alpha specific) memory
> management bug which may lead to a page starvation even if there is
> a plenty of free memory on your system. For some reasons this bug
> is more likely to show up with 2.0.30 than with earlier kernels
> (2.0.29 including).
> The bug is very actively worked upon but problems are not so simple.
> It seems that a resolution is in sight - we will see soon. As a
> workaround for now you may try, for now, for memory intensive jobs to
> hike up values which show up in your /proc/sys/vm/freepages by echoing
> a new triplet there. This has to be done from root account.
> "Downgrading" to 2.0.29 also may help (but does not have to).
First of all, thanks! Unfortunately, this /proc/sys/vm/freepages
stuff is slightly above me. I realize that I can operate with cat
on /proc to obtain info (at least as root), but what do I have
to do to change one of these settings? Also, what do those
three numbers mean, and what are reasonable values to increase
them (provided I find out how to change these values on the fly)
Thanks,
Stefan
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: /proc/sys/vm/freepages
@ 1997-07-29 19:01 Michal Jaegermann
0 siblings, 0 replies; 2+ messages in thread
From: Michal Jaegermann @ 1997-07-29 19:01 UTC (permalink / raw)
>
> Unfortunately, this /proc/sys/vm/freepages
> stuff is slightly above me. I realize that I can operate with cat
> on /proc to obtain info (at least as root), but what do I have
> to do to change one of these settings?
echo "100 200 400" > /proc/sys/vm/freepages
The above is only an example.
> Also, what do those
> three numbers mean,
They affect swapping policies by setting minimum, low and high
values for a number of free pages. 2.1.x seriers of kernels
actually has some write-up on this in linux/Documenation. Otherwise
"Use the source, Luke". :-)
> and what are reasonable values to increase
> them
Depends on how much memory you have, how much you can spare and what
will prevent what YOU are doing from triggering this bug. Start with
doubling, or quadrupling, values which are shown by 'cat'.
Attemtps to set file systems on big partitions (like many gigabytes)
are known to run into this bug, in particular. You may want these
numbers really high when you are doing that. OTOH this eats up into
your "work" memory so it is not likely that you want these high
for a "normal" situation.
The above is only a workaround and not a fix. The later is still
"in works".
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-07-29 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-29 19:01 /proc/sys/vm/freepages Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1997-07-29 12:56 /proc/sys/vm/freepages Stefan Boresch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox