/srv/irclogs.ubuntu.com/2017/05/07/#ubuntu-za.txt

inetproahoi ubuntuland!15:42
=== Maaz_ is now known as Maaz
theblazehenhi inetpro15:47
inetprotheblazehen: how are you doing?15:47
theblazehenGood and you inetpro ?15:47
inetproall good thanks15:47
inetprotheblazehen: what can you tell me about running virtual machines with 32bit Ubuntu server on a 64bit KVM host environment?15:59
inetprogood idea / bad idea, or does it even make a difference?15:59
theblazeheninetpro: Depends on workload inside the VM16:02
theblazehenI'm assuming you won't be needing more than 4 GiB RAM inside the guest?16:03
theblazehen32 bit will use 32 instead of 64 bit pointers, so less overhead there, but misses out on cool x64 features16:04
theblazehenCheck out that top bit of https://en.wikipedia.org/wiki/X32_ABI for a TL;DR16:04
MaNIubuntu doesn't  use x32 though does it, just standard x86 (i386)?16:15
MaNInote also that x32 (which sadly probably isn't what you will get) only limits to 4GiB per program, so you can still use more than 4GiB in total16:19
inetproif I just need a server with less than 2GB of RAM surely 32bit will be more effective on resources?16:19
inetpros/effective/efficient/16:20
MaNIsure, but if it's x86 it wastes half the registers and a bunch of other fancy cpu capabilities16:23
MaNIx32 is meant to be the compromise between the two - but I'm unaware of any mainstream binary distro offering it as an option16:23
inetprohmm... and most developers now have 64bit, so I guess 64bit is probably safer to go as well?16:24
MaNII would not expect much difference in terms of stability at this point16:28
MaNIeither way16:28
inetprothanks for the inputs 16:32
theblazehen"ubuntu doesn't use x32 though does it, just standard x86 (i386)?" MaNI Yeah, wasn't recommending it, it just had a great TL;DR of the (dis|)advantages of each16:32
inetproam not sure what exactly is in this ISO ubuntu-14.04.5-server-i386.iso16:33
theblazeheninetpro: That's normal 32 bit16:34
inetproI have a machine with that running, how do I check?16:34
MaNIi386 = normal 32 bit indeed16:34
theblazehen`uname -p`16:34
inetproi68616:35
MaNIshort version. x86 (i386/i486/i586/i686) can have smaller binaries and less memory but uses less of the CPU16:35
MaNIx86_64 uses all of the new cpu features, but often makes programs use more memory16:35
MaNIx32 is meant to be the best of both worlds but isn't really available for anyone who isn't a cutting edge power user to use16:36
inetproMaNI: yah, that last point is the big problem going forward16:36
MaNIdespite the above there are certain workloads where x86 can outperform x86_64, but for the most part x86_64 will perform better YMMV16:37
theblazehen👍 Nice summary MaNI16:37
MaNIx86 binaries also tend to suffer in that they are built for the 'lowest common denominator' of x86 cpus - and x86 cpus date very far back. So they often don't take full advantage of some of the new x86 cpu features even... While x86_64 does not have such a long history so x86_64 binaries make use of more modern features16:39
MaNIbut people who compile for themselves like myself can side step this (for example) - so it's hard to get proper comparisons even when you look at benchmarks etc.16:40
theblazehenafaik programs can do feature detection, and use faster instructions if they are available?16:41
MaNIsome can certainly16:42
MaNIand especially things like video compression libraries generally do, much like facebook relationships "it's complicated" :(16:43
inetprohaha 17:00
NeRobotoUbuntu!18:26

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