Re: Increase nbdswapd default SIZE
Vagrant Cascadian <[email protected]> Wed, 10 Feb 2010 09:49:53 -0800
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Feb 10, 2010 at 11:27:07AM +0200, Alkis Georgopoulos wrote:
> In /usr/sbin/nbdswapd,
>
> # swapfile size (in MB)
> SIZE=${SIZE:-"32"}
upping it to 64 or even 128 wouldn't seem disasterous to me- although a thin
client swapping 128MB over the network is in for some serious *slow* ... might
be better to just crash at that point.
> And, in ltsp_config,
> # try to get swap from the server if we dont have enough ram (less than 48M)
> min_ram=49152
the swapfile handline in client/initramfs/scripts/ltsp_nbd (not ltsp_config)
actually seems like a bad idea in the first place. at least one major problem
is that it doesn't respect if the admin requests encrypted swap, for example.
it also doesn't handle well if the server isn't configured to support NBD swap.
so i'm not fond of upping that part.
> I don't think those numbers are appropriate anymore with the new
> kernels, xorg and everything.
*sigh*
it is the way of things.
live well,
vagrant
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_____________________________________________________________________
Ltsp-developer mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help, try #ltsp channel on irc.freenode.net