/srv/irclogs.ubuntu.com/2017/11/21/#ubuntu-uk.txt

zmoylan-pixijust 1 toe00:04
diddledanI shall now call you hop-a-long00:05
zmoylan-pixiand 6 weeks of iv antibiotics00:05
diddledandang, that's a lot of infection00:05
daftykinsyep the toe got a whole case of zmoylan for years ;D00:06
zmoylan-pixithen had to wait a few days for picc line to be removed... pic.twitter.com/83m6d42Ari00:07
diddledanwhen I see a link: https://www.youtube.com/watch?v=TTUQyEr-sg000:51
diddledanmust. click. the. link.00:52
daftykinsmm falling asleep here, g'night \o01:26
shahinHi, anyone can suggest about linux free course via online??02:58
SuperMatthey hey hey08:11
diploMorning all08:47
zmoylan-samj3yayyyy09:02
brobostigonmorning boys and girls.09:38
foobarrywhat do i ask the in-laws for for xmas?09:48
foobarrythey will buy something i don't need unless i give an idea09:48
brobostigoncan i ask my in-laws to clear my credit cards?09:49
foobarryleecowdrey: its on an HPC cluster. so the machine has 48 cores, but the job requests only 1 core so instead of 48 threads (confined into 1 cpu lol)  i want it to use 1. other apps manage it, not java09:50
leecowdreyfoobarry: ok so following `number of threads = total virtual memory / (stack size*1024*1024)` then determine current virtual memory `ulimit -v` and apply at the process level of the user running java with `ulimit -s newvalue` for soft limit and `ulimit -v newvalue` for the hard limit. This constrains maximum available not maximum used, so given it is java then you manage maximum used from in Java within your11:34
leecowdreycode (i.e. limits specified in ExecutorService)11:34
leecowdreyfoobarry: you can though set machine wide rather than process specific; to retrieve it: `sudo cat /proc/sys/kernel/threads-max`, to set it: `sudo echo 123456789 > /proc/sys/kernel/threads-max`11:36
foobarryleecowdrey: fogive my java ignorance, but is there an easy way to limit to 1 thread? because what i see happening is lots of unecessary threads when the user just requested 1 core. more threads lowers the performance because the scheduler (and cgroups) has limited the user to the 1 core they requested although the compute node has 48 cores.11:51
foobarryhence he gets 11mins runtime instead of 3mins on his desktop because of these many threads constrained to 1 cpu11:52
foobarryhe's running java -Xmx10G , requesting 1 core and 15G from the job scheduler11:54
foobarrygonna play with ulimit12:12
SuperMattChrist, I am so bored. I'm WFH today, spent the last hour napping, and didn't have a single email or message waiting for me. The new job couldn't start soon enough12:13
foobarrylearn tensorflow!12:14
foobarryther's good tutorials on youtube12:14
foobarryi am literally doing 3 things at once today12:14
TwistedLucidityfoobarry: Seeing Java mentioned, reminded me of this - https://www.humblebundle.com/books/java-books12:21
TwistedLucidityleecowdrey: ^12:21
TwistedLucidityfoobarry: You want to limit Java to only ever run one thread on one core?12:22
leecowdreyfoobarry: if you want to limit to 1 thread then dont use threads12:24
foobarryTwistedLucidity: yeah, or at least one thread PER core12:24
TwistedLucidityfoobarry: Is the code yours (i.e. you can edit/configure it) or third party?12:24
foobarryhow to not use threads?12:25
foobarryits a user's code, and he's using some 3rd party bits12:25
TwistedLucidityHah. Game over then, the third party code could start as many threads as it sees fit.12:25
foobarryi seeem to be having some success with ulimit12:26
TwistedLucidityLimiting it to n threads, sure; that should be doable12:26
foobarryneed to benchmark to see impact on the speed though12:26
foobarryi'm doing ulimit -v as per lee12:26
TwistedLucidity"ulimit -u <number processes>"?12:27
TwistedLucidityMust confess, this isn't something I've had to worry about. Mostly I've sobbed over GC issues.12:27
TwistedLucidityYou've probably read this (and it looks simialr to Lee's suggestion) https://stackoverflow.com/questions/17341883/limiting-number-of-threads-used-by-the-jvm12:28
foobarryi wish irc showed visited links in red :P12:28
foobarryjava is the worst code for HPC12:29
foobarryit's not H or P12:29
TwistedLucidityIt's a tool for a job12:30
TwistedLucidityYour user /might/ be able to do something with "Executors.newSingleThreadExecutor();"12:31
foobarrythe other threads don't seem to do anything12:35
foobarrysit at 0% cpu even when i allow more cores12:35
foobarryhttps://imgur.com/a/I9IYg12:37
twinsen^wee++12:40
foobarrythey are in S state12:41
diddledanwhy do we have /bin AND /usr/bin ?! http://lists.busybox.net/pipermail/busybox/2010-December/074114.html14:10
daftykinsdiddledan: now i'm killing disks in the builders laptops, sandybridge i3 acer with 202 bad sectors today16:43
leecowdrey....When UNIX was first written, /bin and  /usr/bin physically resided on two different disks: /bin being on a smaller faster (more expensive) disk, and /usr/bin on a bigger slower disk. Now, /bin is a symbolic link to  /usr/bin: they are essentially the same directory.16:43
leecowdreywell not linked on ubuntu but other platforms (UNIX not Linux) were16:45
leecowdreyso historical hangups..... there was some plans to tidy it all up as does not just apply to /bin and /usr/bin - plenty of other examples16:47
diddledandaftykins: you complete barsteward16:47
daftykinsdiddledan: he said his granddaughter went to use it and it didn't boot anymore!16:47
diddledanwhat kind of "help" do you call killing a disk?!16:47
leecowdreydaftykins: well it wont boot now, i know, you just making sure right ?16:48
daftykinsdiagnosis, then popping in an old spare + upgrading it to win1016:48
daftykinsleecowdrey: haha, it's just a joke - i didn't kill it really - just identified it was bad in the SMART data16:49
daftykinsme and diddledan just have a long running joke16:49
* daftykins winks16:49
diddledanI'm finally catching up on stranger things16:51
diddledanup to episode 616:51
daftykins\o/16:52
daftykinsi've been moving slow on season 2 myself16:52
diddledanI'm on s1 :-o16:53
diddledanyey for netflix meaning I get to watch at my leisure though16:54
diddledanbroadcast is so passé16:54
daftykinsi much prefer download :P17:01
daftykinsconsistent quality, higher bitrate... #117:02
diddledanis that "download" or "download ;-)"17:02
daftykinsalthough i did just pay £150 to an aerials guy to put a brand new antenna on my roof and leave a drop cable in my eaves corner, so i'll wire things up internally later17:02
leecowdreydaftykins: punny17:11
diddledanbesides the chief, is there only two other policemen? (the ones in uniform)17:24
diddledanthey seem to be the only two you ever see, at least17:25
daftykinssmall town!17:25
daftykinssecretary counts in a way, too ;D17:25
diddledanlol17:25
daftykinsi am really tempted to pull the trigger on a 55" LG OLED B7 and a new 4K capable AV receiver given these sale prices17:28
diddledan:-o17:28
daftykinsTV is down to £1,250 to rock dwellers now!17:29
diddledanI think we should impose special rock-duty on you lot17:35
daftykinsour government shall tell you your fortune!17:36
daftykinswe already get royally *cough* inconvenienced by your gov on a regular basis17:36
diddledanI'd rather they give me my fortune17:36
daftykinsif they demanded tax from us we'd have to dump, er, not tea but maybe our actual lovely exports into the harbour17:37
diddledaneven that gorgeous butter?!17:38
diddledanthat'll make a mess17:39
daftykinsswimming in the harbour might become a varied experience17:39
daftykinsmaybe the butter will set off any further WW2 bombs that haven't been found, (one was just the other day)17:40
daftykinsthe ferries had been going over the top of it all those years17:40
diddledaneep17:40
diddledanI love the synthesized sounds on the stranger things intro17:42
daftykins:D ja17:43
daftykinsnice and bassy too17:43
diddledanthey're building a sen-dep tank18:06
diddledanwhat's the salt for?18:06
diddledanbouyancy?18:06
daftykinsshh spoilers to anyone present who has not seen :P18:06
diddledannice bat!18:21
diddledanI think they forgot the cheese though18:22
diddledanlooks like zimbabwe has a new president18:25
diddledanhttp://www.bbc.co.uk/news/live/world-africa-4206374418:25
diddledanof course it was an entirely consensual accession that mugabe agreed to willingly18:26
diddledanhttps://i.imgur.com/bkfZ02p.mp418:30
daftykinsabsolutely19:42
diddledanhttps://cdn.vox-cdn.com/thumbor/vUGrr0nycaelcE_s2ZSR6g4Hlh8=/0x211:2288x1498/1600x900/cdn.vox-cdn.com/uploads/chorus_image/image/50821489/spam-wall.0.0.jpg19:43
diddledanSPAM!19:43
daftykinsdon't think i've ever tried any19:45
diddledanit's a mainlander thing :-p20:01
diddledanyou scurvy scum aren't likely to have such things there20:01
daftykins;] nah i've seen it!20:02
diddledanlol @ episode 2's closing music20:48
diddledans220:48
* diddledan binging20:48
diddledancat.22:17
diddledanthat's all I'm saying22:17
diddledancat.22:17
daftykinsmrow.22:18
zmoylan-pi*bark*22:23
diddledanbaa22:46
daftykinsdiddledan: back in Wales? ;)23:08
daftykinsbed time \o23:08
diddledannah, out on a date23:08
daftykinsdiddledan: these are not one and the same?23:09
daftykinszmoylan-pi: yay for home! :)23:09
zmoylan-pithe pi is alive, i repeat the pi is alive :-)23:09
diddledanmmm, pi23:09

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!