|03:10||||cw has left IRC (||cw!~chrisw@unaffiliated/cw/x-1182934, Ping timeout: 240 seconds)|
|03:11||||cw has joined IRC (||cw!~chrisw@unaffiliated/cw/x-1182934)|
|04:00||mads2 has joined IRC (mads2!~newmember@2804:14c:878d:9e87:5047:3486:7612:f4ed)|
|06:50||kjackal has joined IRC (kjackal!~quassel@2a02:587:3101:f300:1ced:bc68:87ad:ed88)|
|06:59||ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)|
|07:34||kjackal has left IRC (kjackal!~quassel@2a02:587:3101:f300:1ced:bc68:87ad:ed88, Ping timeout: 252 seconds)|
|07:37||kjackal has joined IRC (email@example.com)|
|08:16||kjackal has left IRC (firstname.lastname@example.org, Read error: Connection reset by peer)|
|08:16||kjackal_v2 has joined IRC (kjackal_v2!~quassel@2a02:587:3101:f300:1ced:bc68:87ad:ed88)|
|10:51||Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)|
|11:50||nehemiah has joined IRC (email@example.com)|
Hello. What`s the recommended server to run Android Studio in 10 or 20 thin clients. I have three labs full of old machine but they do fine for all classes but the Android dev ones.
mads2: the same way that you would run with without ltsp
How would you run it without ltsp?
E.g. in virtualbox?
Ah studio, not plain android
OK, then normally :)
What's the problem, that it run slowly? Are you clients really thin, or are they fat?
The question is, I can run Android Studio in my machine (I5 5200, 8GB ram) fine. But if I wanna spin a server with a 10 or 20 thin clients, how much more computer power would I need.
I would run thin clients, because they can`t run Android Studio satisfactory
mads2: easy to test, just run `ssh -X user01@localhost`, and run android 20 times from there
If it needs e.g. 500 MB RAM for each instance, then you'd need 20*500 MB RAM for 20 users
Add 200 MB for the session (MATE etc) as well
So with 16 GB you should be ok, RAM-wise
kvm: Virtual thin client: kvm -m 256 -vga vmware -ctrl-grab -no-shutdown -net nic,model=virtio -net user,tftp=/var/lib/tftpboot,bootfile=/ltsp/i386/pxelinux.0
Or run 20 virtual thin clients, and log in from there
hunn, I thought that since the clients are all running on the server it could save a lot of ram/computing power
but I will hack around. We don`t want to upgrade a whole lab for one application (Android Studio is really heavy)
Shared ram is saved
That's usually ram from libraries
While non-shared ram, like browser tabs etc, isn't "saved"
Btw, an I5 5200 isn't any super server, it's a normal workstation for android studio :D
It'd be way better to have all i3 clients, so that each one of them ran it on its own
https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-5200U+%40+2.20GHz => 3500 score
https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-8250U+%40+1.60GHz&id=3042 => 7700 score, twice as much (and still laptop)
|12:12||* alkisg was testing a 24-cpu monster these days, with 192 GB RAM - this one could run a lot of thin clients|
The i5 is my personal computer, I would use some server available for it at the uni. Anyway, I`ll run some tests with the ssh. Thank you very much alkisg!
|14:16||mads2 has left IRC (mads2!~newmember@2804:14c:878d:9e87:5047:3486:7612:f4ed, Remote host closed the connection)|
|15:25||nehemiah has left IRC (firstname.lastname@example.org, Read error: Connection reset by peer)|
|15:25||nehemiah has joined IRC (email@example.com)|
|15:32||kjackal_v2 has left IRC (kjackal_v2!~quassel@2a02:587:3101:f300:1ced:bc68:87ad:ed88, Remote host closed the connection)|
|15:32||kjackal has joined IRC (kjackal!~quassel@2a02:587:3101:f300:1ced:bc68:87ad:ed88)|
for reference, we have 3 12core 128gb memory servers here
(and 1 12core 64gb) ;)
...we ended up running clone via ltsp-localapps just because of the rendering performance =/
and now we use fat clients... lol
finally got bonding working right at this location... I think this'll really help speed up nbd: https://i.imgur.com/tRZ94NV.png
nbd is cached both server and client side, so it shouldn't be much of a bottleneck
/home needs ssd if you can afford it
Which bonding mode did you use?
|16:03||kjackal has left IRC (kjackal!~quassel@2a02:587:3101:f300:1ced:bc68:87ad:ed88, Remote host closed the connection)|
|16:03||kjackal has joined IRC (kjackal!~quassel@2a02:587:3101:f300:1ced:bc68:87ad:ed88)|
|17:53||adrianor1 has left IRC (firstname.lastname@example.org, Ping timeout: 272 seconds)|
|17:59||mads2 has joined IRC (mads2!~newmember@2804:14c:878d:9e87:4132:7c76:3e2a:8ed1)|
we used to have thin clients, and our server is a better than what alkisg tested... but fat clients are, alas, the way to go these days
a tad better
My terminals can't run the application even on bare metal. My intention is to run thin clients because its easier to me to get a powerful enough server than to upgrade the whole lab. I only need a fair estimate of this server specs but I will try it by trial and error with what I already got.
|18:17||kjackal has left IRC (kjackal!~quassel@2a02:587:3101:f300:1ced:bc68:87ad:ed88, Remote host closed the connection)|
|18:24||adrianorg has joined IRC (email@example.com)|
mads2: the main bottleneck is the network
flash: Yes, flash sucks. An HD full screen 30 fps video needs 2.5 Gbps bandwidth (1920×1080×4×30)! Make sure you have LDM_DIRECTX=True in your lts.conf file, or if it's just youtube you're after, try some flash replacing plugin like http://linterna-magica.nongnu.org
|18:27||vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)|
It's not just about flash. Imagine 2.5 gbps per *client* for any 30fps application.
That's why thin clients probably won't be supported at all in ltsp6
I imagine we'll endorse x2go or xrdp or other remote desktop models there
the biggest thing for me (us) is the intial DE loading, and the first time chrome launches
(also if 5 people happen to start their desktops at the exact same time)
|19:05||adrianor1 has joined IRC (firstname.lastname@example.org)|
|19:07||adrianorg has left IRC (email@example.com, Ping timeout: 250 seconds)|
youtube on chrome at least should be h265 now, right?
via html5 video?
If you're talking about bandwidth, thin clients always get uncompressed video
that's true, you're right
|19:31||JuJUBee has joined IRC (JuJUBeefirstname.lastname@example.org)|
mwalters, thanks for the info on static ip the other day. I got booted before I could see it and ended up figuring it out.
Got the new LTSP server up and running
Most everything is fine except netbeans for some reason.
netbeans, the IDE?
When a student launches it and tries to go to the options, nothing happens. Even if they wipe and re-install it.
Yes the IDE
Im thinking it is a permissions issue somehow tied to ltsp but it was working on the old server.
It's been a loooong time since I tried out netbeans, not sure I can help
I ended up with the jetbrains IDEs when I was a dev
The course they are taking requires netbeans. There is a submission plugin they are using for a MOOC.
Can you remind me of your set up again? Fat/Thin Clients, chroot/chrootless, etc?
Fat chrootless 18.04
I have /homes for the students instead of /home
is the $HOME variable correct when they log in?
`echo $HOME` from a terminal
maybe try running netbeans from a terminal and see if it outputs an error
it definitely sounds like a file access issue based on the behavior
also, remote logging is super rad
|19:40||kjackal has joined IRC (kjackal!~quassel@2a02:587:3101:f300:18fa:1162:c324:7650)|
I did run from terminal but don't know what this means https://pastebin.com/uNxVDUdm
FYI, the first line I get on my computer (non ltsp) and netbeans runs fine
do you have the same JVM installed on your computer and the ltsp server?
looks more like a JVM issue, than a file access issue
not sure this is root of the issue, though... these are just warnings
now that I thinka bout it more
Yes I do have same version
next step is probably take a look at it w/ strace
`strace <netbeans binary>`
|19:47||Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)|
should give you an idea of what files it's trying to access, where they are... and specifically which ones at the time of the issue
it's pretty... verbose, though ;)
OMG the output is more than the buffer can handle
You aint kidding
yeah, I'm not 100% sure, there's a bunch of different ways... the tool this guy built looks promising, you'll have to compile it yourself, though I think: https://unix.stackexchange.com/questions/18844/list-the-files-accessed-by-a-program
alternatively, grep the strace output down to what you want
`strace <binary>|grep ^open\(` might work, but I'm not 100% sure
that doesn't seem right
not sure :D
grepping the output doesn't seem to work at all, not sure why
`strace <binary> 2>&1|grep <some string>
This seems troublesome
I give up ;)
JuJUBee: does it run directly on the server?
So I switched back to java 1.8 jdk and it runs. Strange, I have 1.11 on my laptop and it runs fine, but not on the server.
Thanks for trying. I gotta go, snowing now and I should get home before it really comes down.
Then it's not an ltsp issue :)
Try asking in your distro channel, e.g. #ubuntu
|20:56||nehemiah has left IRC (email@example.com, Ping timeout: 240 seconds)|
|22:35||vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Remote host closed the connection)|
|22:50||jgee has left IRC (firstname.lastname@example.org, Quit: The Lounge - https://thelounge.github.io)|
|22:55||jgee has joined IRC (email@example.com)|
|23:05||ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Remote host closed the connection)|
|23:13||mmarconm has joined IRC (mmarconm!~mmarconm@unaffiliated/mmarconm)|
|23:15||mmarconm has left IRC (mmarconm!~mmarconm@unaffiliated/mmarconm, Client Quit)|
|23:31||vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)|