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 | |
13:37 | <nesusvet> exit
| |
13:41 | <alkisg> logout
| |
13:42 | <nesusvet> alkisg: hello
| |
13:42 | <alkisg> hello :)
| |
13:42 | <nesusvet> i am learning a new client irssi )
| |
13:42 | and a little confused
| |
13:43 | <alkisg> sure, i was just joking
| |
13:43 | Once someone typed the letter "a" by mistake
| |
13:43 | The next once wrote "b", the next one "c" etc until we got to "k" or something - just as a joke too
| |
13:43 | :)
| |
13:44 | <nesusvet> 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 | |
14:10 | <alkisg> 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:18 | http://pastebin.com/BVsh3JbR
| |
14:19 | dobber_ has quit IRC | |
14:22 | dobber_ has joined #ltsp | |
14:34 | <komunista> is not better to make possible disable the compcache by lts.conf?
| |
14:35 | Selveste1 has quit IRC | |
14:36 | <alkisg> At the time when compcache is loaded, we don't have access to lts.conf
| |
14:36 | It's very early in the boot process
| |
14:37 | Also at that point we don't know if a swap space *will* be mounted
| |
14:37 | (if it isn't, then compcache is OK, as it gives a little more "ram" to the client by compressing it)
| |
14:39 | 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.
| |
14:40 | So until we can move swap mounting to the initramfs, I don't see any better way.
| |
14:46 | dobber_ has quit IRC | |
14:47 | <alkisg> (btw there's a "nocompcache" kernel parameter that can be put in pxelinux.cfg/default)
| |
14:52 | dobber_ has joined #ltsp | |
15:08 | <komunista> 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 | |
15:10 | <alkisg> komunista: I didn't get the last part. If you have nbd swapping why would you also use compcache?
| |
15:12 | 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.
| |
15:12 | 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.
| |
15:13 | <komunista> I have no GB network :-)
| |
15:13 | and no local disk
| |
15:14 | and I can be totally wrong about swap, I am only asking :-)
| |
15:14 | <NeonLichT> Try swap on a floppy XDD
| |
15:20 | <alkisg> 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).
| |
15:20 | Even scrolling the firefox window involved compressing/decompressing
| |
15:21 | By enabling nbd swap or local swap (I tried both) compcache was removed and those 13MB were freed, so the performance was again acceptable
| |
15:21 | 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 | |
15:27 | <komunista> I have 256 (64 for VGA) MB RAm and 50 MB compcache
| |
15:27 | sometime I run free (by ssh) and I newer see the swap was used (or some kB only)
| |
15:28 | hops, 256 MB RAM - 64 MB for VGA card :-)
| |
15:29 | <alkisg> komunista: 256 for a thin client are more than enough, if you don't use localapps
| |
15:30 | So even if compcache takes 50MB, your client still won't use any swap space
| |
15:30 | (those 50MB will still be unused)
| |
15:30 | But the real question is, if you do have a local swap space, why would you also give that 50MB to compcache?
| |
15:31 | 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...
| |
15:33 | <komunista> alksig: thanks for explanation
| |
15:35 | <vagrantc> alkisg: i think "modprobe -r ramzswap" should remove everything
| |
15:36 | 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
| |
15:37 | <alkisg> vagrantc: swapoff fails ==> wouldn't that "|| true" do the trick?
| |
15:37 | <vagrantc> i also wonder if $swap_devices might be set, but failed to initialize the swap partition... might be better to leave compcache swap devices...
| |
15:38 | alkisg: yeah, a || true in both places would be needed, though
| |
15:39 | <alkisg> (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 | |
15:49 | <alkisg> Thanks, modprobe -r works fine. Btw, `swapoff "$swap" && remove_ramzswap=true` should work correctly even when swapoff failes...
| |
15:49 | <vagrantc> odd
| |
15:50 | <alkisg> Ah sorry
| |
15:50 | my bad
| |
15:51 | <vagrantc> i'd think you'd need: swapoff $foo && bar=baz || true
| |
15:52 | <alkisg> OK, tested, committing...
| |
15:52 | <vagrantc> sad to hear compcache isn't working as well as i had heard...
| |
15:54 | <alkisg> *If* there is any kind of other swapping available, compcache has no reason to take up 25% of the available ram
| |
15:54 | The ubuntu live cd only uses compcache for PCs with <512 RAM
| |
15:54 | It disables it for newer PCs...
| |
16:02 | 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.
| |
16:03 | (so we could put that threshold by default, but anyway, that's easy to customize locally)
| |
16:10 | bobby_C has joined #ltsp | |
16:13 | <alkisg> vagrantc: it seems that I committed the wrong version, is it OK if I uncommit?
| |
16:13 | (i.e. rmmod instead of modprobe)
| |
16:14 | (I do know how...)
| |
16:16 | komunista has quit IRC | |
16:16 | <alkisg> Anyway, I'll just push the small fix
| |
16:24 | <vagrantc> alkisg: nah, just make another commit with the fix
| |
16:24 | alkisg: unless you didn't push it yet
| |
16:24 | <alkisg> vagrantc: I did
| |
16:25 | (I could still roll them back and repush into one commit, if it'll be better...)
| |
16:25 | Thanks though!
| |
16:29 | Btw, I tried increasing that "min_ram" thing to 64M. While it usually worked fine, it hanged sometimes when the root switching happened.
| |
16:30 | 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... | |
16:30 | <vagrantc> nah, once it's realeased to the wild, best to leave it that way.
| |
16:31 | <alkisg> 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
| |
16:34 | 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 | |