|00:46||japerry has joined #ltsp|
|01:01||RiXtEr has quit IRC|
|01:33||alkisg has joined #ltsp|
|01:33||alkisg has joined #ltsp|
|01:40||vagrantc has quit IRC|
|01:44||dobber_ has joined #ltsp|
|02:03||alkisg has quit IRC|
|02:04||alkisg has joined #ltsp|
|02:07||dobber_ has quit IRC|
|02:08||alkisg has quit IRC|
|02:33||bobby_C has joined #ltsp|
|02:41||alkisg has joined #ltsp|
|03:15||leio has quit IRC|
|03:17||leio has joined #ltsp|
|03:29||sch-bot has quit IRC|
|03:41||otavio has quit IRC|
|03:51||bobby_C has quit IRC|
|04:10||alkisg has quit IRC|
|04:30||chupacabra has quit IRC|
|04:33||mikkel has joined #ltsp|
|04:35||komunista has joined #ltsp|
|05:00||F-GT has quit IRC|
|05:08||johnny has left #ltsp|
|05:09||johnny has joined #ltsp|
|05:17||F-GT has joined #ltsp|
|06:34||otavio has joined #ltsp|
|07:00||bobby_C has joined #ltsp|
|07:32||komunista has quit IRC|
|07:34||F-GT has quit IRC|
|07:46||alkisg has joined #ltsp|
|07:51||F-GT has joined #ltsp|
|08:11||komunista has joined #ltsp|
|08:17||satellit_ has joined #ltsp|
|08:36||muttley has joined #ltsp|
|08:38||muttley has left #ltsp|
|08:55||otavio has quit IRC|
|09:03||satellit_ has left #ltsp|
|09:08||F-GT has quit IRC|
|09:16||highvoltage has joined #ltsp|
|09:24||F-GT has joined #ltsp|
|09:45||alexqwesa has quit IRC|
|09:46||alexqwesa has joined #ltsp|
|09:47||chupacabra has joined #ltsp|
|10:03||komunista has quit IRC|
|10:06||otavio has joined #ltsp|
|10:17||japerry has quit IRC|
|10:17||ogra_cmpc has quit IRC|
|10:18||japerry has joined #ltsp|
|10:18||ogra_cmpc has joined #ltsp|
|10:22||Selveste1 has quit IRC|
|10:52||peter_tm has joined #ltsp|
|12:37||johnny has left #ltsp|
|12:38||johnny has joined #ltsp|
|13:02||bobby_C has quit IRC|
|13:33||dobber_ has joined #ltsp|
|13:35||Selveste1 has joined #ltsp|
|13:37||nesusvet has joined #ltsp|
i am learning a new client irssi )
and a little confused
sure, i was just joking
Once someone typed the letter "a" by mistake
The next once wrote "b", the next one "c" etc until we got to "k" or something - just as a joke too
I'm not very surprised if i will write my secret password )
|13:47||nesusvet has quit IRC|
|14:00||komunista has joined #ltsp|
|14:06||Egyptian[Home] has joined #ltsp|
|14:08||Egyptian[Home]1 has quit IRC|
stgraber: I'm preparing to commit the following change in ltsp-init-common: "if the user specified any kind of swap space, either nbd or local swap, *unload* compcache". This should make low end clients usable again without any side effects. Any objections?
|14:19||dobber_ has quit IRC|
|14:22||dobber_ has joined #ltsp|
is not better to make possible disable the compcache by lts.conf?
|14:35||Selveste1 has quit IRC|
At the time when compcache is loaded, we don't have access to lts.conf
It's very early in the boot process
Also at that point we don't know if a swap space *will* be mounted
(if it isn't, then compcache is OK, as it gives a little more "ram" to the client by compressing it)
The best thing would be to delay loading compcache after any swap mounting attempts - but then the swap mounting would have to be part of the initramfs, which is itsn't - it's just an initscript.
So until we can move swap mounting to the initramfs, I don't see any better way.
|14:46||dobber_ has quit IRC|
(btw there's a "nocompcache" kernel parameter that can be put in pxelinux.cfg/default)
|14:52||dobber_ has joined #ltsp|
my idea is about performance, without any test IMHO local swap is better than remote, then if there is enough RAM for small compcache is better to expand swap by nbd, than replace it...
|15:09||Egyptian[Home] has quit IRC|
komunista: I didn't get the last part. If you have nbd swapping why would you also use compcache?
Also, older hard disk have terrible seek times, while a gigabit network is much faster, and the data usually are cached in the server RAM, so there's no hard disk access involved at all.
I mean that nbd swapping is faster than old hard disks... but anyway that's upon the local admin to decide it from lts.conf.
I have no GB network :-)
and no local disk
and I can be totally wrong about swap, I am only asking :-)
Try swap on a floppy XDD
Well. Before that change (http://pastebin.com/paQZ5zyU) my 64MB client was using 13MB for ramswap, and that had a grave performance hit. Opening firefox took a lot of time because the pixmaps or whatever it's using locally was stressing the CPU (compcache actually ZIPs the data, so it uses a lot ofCPU).
Even scrolling the firefox window involved compressing/decompressing
By enabling nbd swap or local swap (I tried both) compcache was removed and those 13MB were freed, so the performance was again acceptable
Casper also disables compcache for PCs with >512 MB. It's really only needed for PCs booting the live CD with 256 to 512 ram...
|15:23||Egyptian[Home] has joined #ltsp|
|15:26||vagrantc has joined #ltsp|
I have 256 (64 for VGA) MB RAm and 50 MB compcache
sometime I run free (by ssh) and I newer see the swap was used (or some kB only)
hops, 256 MB RAM - 64 MB for VGA card :-)
komunista: 256 for a thin client are more than enough, if you don't use localapps
So even if compcache takes 50MB, your client still won't use any swap space
(those 50MB will still be unused)
But the real question is, if you do have a local swap space, why would you also give that 50MB to compcache?
vagrantc: change of course, disabling compcache when any other swapping is around works better: http://pastebin.com/paQZ5zyU - I'm gonna commit this if noone objects...
alksig: thanks for explanation
alkisg: i think "modprobe -r ramzswap" should remove everything
alkisg: also, it should be more able to handle if for some reason /dev/ramzswap* exist, but swapoff fails ... i.e. module loaded by nothing actually added as a swap device
vagrantc: swapoff fails ==> wouldn't that "|| true" do the trick?
i also wonder if $swap_devices might be set, but failed to initialize the swap partition... might be better to leave compcache swap devices...
alkisg: yeah, a || true in both places would be needed, though
(btw it'd be nice if we mounted any other swap spaces before even loading compcache, so no rmmod would be necessary, but unfortunately that can't be easily done...)
|15:39||* alkisg tries modprobe -r...|
|15:40||dobber_ has quit IRC|
|15:44||chupacabra has quit IRC|
|15:44||chupacabra has joined #ltsp|
Thanks, modprobe -r works fine. Btw, `swapoff "$swap" && remove_ramzswap=true` should work correctly even when swapoff failes...
i'd think you'd need: swapoff $foo && bar=baz || true
OK, tested, committing...
sad to hear compcache isn't working as well as i had heard...
*If* there is any kind of other swapping available, compcache has no reason to take up 25% of the available ram
The ubuntu live cd only uses compcache for PCs with <512 RAM
It disables it for newer PCs...
FInal result: with a default lucid installation, 64MB clients are almost unusable (they're constantly de/compressing ram into that compcache swap). With that commit, and with NBD_RAM_THRESHOLD=100, they're fine.
(so we could put that threshold by default, but anyway, that's easy to customize locally)
|16:10||bobby_C has joined #ltsp|
vagrantc: it seems that I committed the wrong version, is it OK if I uncommit?
(i.e. rmmod instead of modprobe)
(I do know how...)
|16:16||komunista has quit IRC|
Anyway, I'll just push the small fix
alkisg: nah, just make another commit with the fix
alkisg: unless you didn't push it yet
vagrantc: I did
(I could still roll them back and repush into one commit, if it'll be better...)
Btw, I tried increasing that "min_ram" thing to 64M. While it usually worked fine, it hanged sometimes when the root switching happened.
If the client managed to boot, then all OK; but 1 out of 10 times it wouldn't boot because of the root switching.
|16:30||* alkisg should file a bug to nbd-client about that...|
nah, once it's realeased to the wild, best to leave it that way.
Anyway, lucid terminals won't boot with 64M and without any kind of swap. So if it can't be nbd swap at that point, temporarily loading compcache is fine :D
rsyslogd, dbus etc still die with out of memory errors but they get realoaded by upstart a little later when ltsp-init-common gest nbd swapping up and running. Well... 64M is too low anyway, but at least now they boot and they work fine afterwards.
|16:43||alkisg has quit IRC|
|17:00||Egyptian[Home] has quit IRC|
|17:09||mikkel has quit IRC|
|17:10||bobby_C has quit IRC|
|17:13||Egyptian[Home] has joined #ltsp|
|17:15||highvoltage has quit IRC|
|19:13||alkisg_work has quit IRC|
|19:38||Egyptian[Home] has quit IRC|
|20:54||vagrantc has quit IRC|
|21:08||gymeleou has joined #ltsp|
|21:45||peter_tm has left #ltsp|
|22:15||ogra_cmpc has quit IRC|
|22:28||ogra_cmpc has joined #ltsp|
|22:47||chupacabra has quit IRC|
|22:51||chupacabra has joined #ltsp|
|22:52||alkisg has joined #ltsp|
|23:41||Egyptian[Home] has joined #ltsp|