ubuntu-devel Digest, Vol 21, Issue 31
Joel Bryan T. Juliano
joelbryan.juliano at gmail.com
Tue May 9 21:53:49 BST 2006
On Tue, 2006-05-09 at 14:03 +0200, Michiel Sikma wrote:
> > With Ubuntu (flight 7), on my laptop (240 MB of real memory) it is even
> > worse than with Kubuntu :(
> > I cannot even turn off swap (swapoff -a) without freezing the system or
> > killing swapoff process due to out-of-memory.
> >
> > Can someone else verify this (with real setup, not in virtual
> > environment)?
> >
> > Regards
> >
> > Krzysztof Lichota
> >
> I'll gladly test with my 400 MHz laptop with (around) 192 MB RAM when I
> get home. Well, when I get home + the time required to download Flight
> 7. It's supposed to run the text installer but not the graphic
> installer?
>
> Regards, Michiel
>
>
See if your running laptop mode
# cat /proc/sys/vm/laptop_mode
If it's 0, run
# sudo /sbin/sysctl -w vm.laptop_mode 1
You can also try setting RAW parameters in the running kernel,
via sysctl.
# sudo /sbin/sysctl -w vm.min_free_kbytes <reserve memory for system>
the default is 2039, but if you like to use the swap more than your
memory, change it to higher values, I usually set it to 16384.
tweaking kernel settings is dangerous, make sure you save your work
before doing anything, it may close your applications.
and to make things permanent, edit /etc/sysctl.conf and add the words
after the -w.
JB
--
Joel Bryan T. Juliano <joelbryan.juliano at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20060510/74c41088/attachment.pgp
More information about the ubuntu-devel
mailing list