/srv/irclogs.ubuntu.com/2007/08/15/#ubuntu-kernel.txt

=== ubuntulog [i=ubuntulo@trider-g7.fabbione.net] has joined #ubuntu-kernel
=== Topic for #ubuntu-kernel: Ubuntu kernel development discussion ONLY | Kernel Wiki: https://wiki.ubuntu.com/KernelTeam | Latest kernel upload: 2.6.22-9.25 | Latest news: -rt and -xen kernels re-added | New Kernel Team machine: http://kernel.ubuntu.com/
=== Topic (#ubuntu-kernel): set by lamont at Fri Aug 3 16:12:28 2007
=== #ubuntu-kernel [freenode-info] please register your nickname...don't forget to auto-identify! http://freenode.net/faq.shtml#nicksetup
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-kernel
=== Starting logfile irclogs/ubuntu-kernel.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-kernel
=== Topic for #ubuntu-kernel: Ubuntu kernel development discussion ONLY | Kernel Wiki: https://wiki.ubuntu.com/KernelTeam | Latest kernel upload: 2.6.22-9.25 | Latest news: -rt and -xen kernels re-added | New Kernel Team machine: http://kernel.ubuntu.com/
=== Topic (#ubuntu-kernel): set by lamont at Fri Aug 3 16:12:28 2007
=== johanbr [n=j@blk-224-159-249.eastlink.ca] has joined #ubuntu-kernel
=== bullgard4 [n=detlef@p54BF09DB.dip0.t-ipconnect.de] has joined #ubuntu-kernel
=== joris_ [i=joris@082-146-097-013.dyn.adsl.xs4all.be] has joined #ubuntu-kernel
joris_I have a rather odd feisty problem. Machine with a core2quad cpu with a 2.6.20-16-generic kernel works very fast, altough with only 3.2 out of 8GB of ram. Installing the 2.6.20-16-server kernel halves disk IO speed (measurably) and subjectively decimates CPU performance... I'm at a complete loss08:09
joris_I filed a bugreport containing some more info https://launchpad.net/ubuntu/+bugs?field.searchtext=2.6.20-16-server&orderby=-importance&search=Search&field.status%3Alist=New&field.status%3Alist=Incomplete&field.status%3Alist=Confirmed&field.status%3Alist=Triaged&field.status%3Alist=In+Progress&field.status%3Alist=Fix+Committed&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=08:09
joris_wrong url, sorry08:10
BenCjoris_: are you trying 32-bit or 64-bit kernel?08:12
joris_32bit08:13
BenCTry 64-bit08:13
fabbionehey BenC 08:13
BenChey fabbione08:14
joris_(hmmz, I can't seem to find my own bugreport on launchpad..)08:14
joris_bug id #13257708:15
joris_BenC: do you mean to install an x86_64 optimized kernel, or switching the entire distro to 64bit?08:16
BenCwell, you have to do the entire distro08:16
joris_ouch08:16
BenCbut you could just do a kernel, but it wont be easy08:16
joris_it's supposed to become a fat server (for thin clients) for a school... they'll need some 32bit apps like flash08:17
joris_BenC: apt-pinning feisty/amd64 for linux-image*?08:18
fabbioneno you can't use pinning for this08:18
BenCthis is taking a .deb by hand and dpkg-deb extract/control -> build08:18
BenCand having to continue doing it for security updates08:19
joris_hmm... not fun08:19
BenCyou can't use a chroot for the 32-bit thin clients?08:19
joris_is it a known problem? is it worth the effort to try to bugfix this?08:19
fabbionejoris_: are you using LTSP ?08:19
fabbioneor some manually crafted thin client installation?08:20
BenCit's not a bug...just 32-bit can only handle but so much (the slowdown on -server is a bug though)08:20
joris_BenC: possibly yes, but I'm having enough trouble getting LTSP up and running without doing an arch transposition08:20
joris_fabbione: no, edubuntu ltsp :)08:20
fabbionejoris_: ok. i suggest you wait one hour or so and talk to ogra08:20
fabbionejoris_: i think he did put some work into running an amd64 server with 32bit thin client for flash and stuff08:21
joris_aha08:21
joris_he'll be on here?08:21
fabbionehe is no kernel expert but he is the LTSP guru08:21
joris_nice :)08:21
fabbionein #edubuntu or #ubuntu-devel08:21
joris_I'll see if I can remotely reinstall the machine to amd6408:21
fabbionebut he is not awake yet for what i can see08:21
fabbionei'd recommend to talk to ogra first08:22
fabbioneand see what's the best way to handle it08:22
joris_well, I don't know yet if going to amd64 will fix the lack of performance08:22
BenCjoris_: you could try booting an amd64 livecd and see what it would do08:34
BenCpretty sure it would handle the memory a lot better08:35
mjg59joris_: Your BIOS doesn't set MTRRs for the upper memory08:37
mjg59So it's all flagged as uncacheable, and performance sucks08:37
mjg59It's unlikely that using a 64-bit kernel will help her08:37
mjg59e08:37
BenCah, there's a better answer08:37
mjg59We really need PAT support in Linux, but nobody's written an implementation the maintainer is happy with08:38
joris_mjg59: hmmm08:45
joris_mjg59: that's not good08:46
joris_and this is why I recommended using a server board, but they wanted to save 100 bucks08:46
joris_mjg59: the effect is really surprisingly strong btw08:47
mjg59Yes, it will be08:47
mjg59The machine will be basically unusable08:47
joris_it's not like a 10% slowdown, it's more like a 95% slowdown08:47
joris_it is indeed08:47
=== cobman [n=justinas@194.176.50.52] has joined #ubuntu-kernel
=== martink [n=martin@84-75-131-205.dclient.hispeed.ch] has joined #ubuntu-kernel
joris_mjg59: anything I can try to objectively measure this?08:56
mjg59joris_: Not really - it'll depend on workloads and where in memory stuff gets allocated08:57
mjg59The bottom ~4GB is probably flagged cacheable, but the kernel will be loaded higher08:58
mjg59So if your code is in the cacheable region and doesn't make any syscalls, it'll probably run fairly fast08:58
joris_hmmm08:59
joris_without programming C there is no way to put a benchmark util in upper or lower memory, I presume09:00
Mithrandirtake out half the memory and see if it improves vastly?09:01
mjg59There's no way to do it at all09:01
mjg59You're at the mercy of the kernel in terms of where your app ends up09:01
joris_Mithrandir: that's what happens with the desktop kernel, presumably09:02
joris_mjg59: ok :(09:02
mjg59It's a genuine failing in Linux to implement PAT, but it's also a BIOS issue to fail to set the MTRRs sanely09:02
Mithrandirjoris_: presumably, yes.09:02
mjg59You can boot with different values of mem= to find the maximum you can get away with09:02
mjg59joris_: Adding the output of cat /proc/mtrr to the bug would be helpful09:03
joris_mjg59: is there any logic in the values to try?09:03
joris_mjg59: will do so09:03
mjg59joris_: Look at /proc/mtrr. Figure out the highest address that's flagged write-back or write-through.09:03
mjg59That's the maximum amount of RAM you can use09:03
joris_okay09:03
joris_as soon as the machine finishes installing sysinfo (half an hour and counting)09:04
joris_mjg59: it's attached09:09
mjg59joris_: Thanks - what was the bug number, again?09:09
joris_https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/13257709:09
joris_what does write-combining mean?09:10
mjg59joris_: Looks like you're not going to get more than 3584MB09:12
mjg59joris_: http://en.wikipedia.org/wiki/Write-combining :)09:12
joris_ouch :(09:13
mjg59The mtrrs simply don't cover more than that09:13
krautmoin09:16
joris_mjg59: do you know off hat what unit/syntax does the kernel mem= parameter accept?09:18
joris_'mem=xyzM' ?09:19
mjg59Yeah09:19
joris_mem=3584M it is then09:20
mjg59Might end up needing to be slightly lower than that09:21
mjg59But give that a go first09:21
joris_okay, here goes nothing09:22
joris_that worked :)09:24
mjg59Excellent09:24
joris_it's most likely an intel 965-based motherboard09:25
mjg59Yeah09:26
mjg59All you can really do at this point is check for a bios update, I'm afraid09:26
joris_yep... makes sense :/09:27
mjg59Or wait for PAT support09:27
joris_I'll break the bad news09:27
=== EtienneG [i=etienne@ubuntu/member/EtienneG] has joined #ubuntu-kernel
=== blenderhead001 [n=blenderh@adsl-068-209-133-121.sip.jax.bellsouth.net] has joined #ubuntu-kernel
=== Nafallo [n=nafallo@ubuntu/member/nafallo] has joined #ubuntu-kernel
=== Lure_ [n=lure@89-212-18-142.dynamic.dsl.t-2.net] has joined #ubuntu-kernel
=== asac_ [n=asac@debian/developer/asac] has joined #ubuntu-kernel
=== EtienneG [i=etienne@ubuntu/member/EtienneG] has joined #ubuntu-kernel
=== EtienneG [i=etienne@ubuntu/member/EtienneG] has joined #ubuntu-kernel
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-kernel
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel
zulmorning02:31
lamontmorning zul03:05
=== IntuitiveNipple [n=TJ@alexandros.tjworld.net] has joined #ubuntu-kernel
zulhi lamont how goes it?03:22
lamontgenerally pretty well03:22
zulgood03:23
=== Lure_ [n=lure@89-212-18-142.dynamic.dsl.t-2.net] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== ThrobbingBrain66 [n=bradley@CPE-24-208-44-208.new.res.rr.com] has joined #ubuntu-kernel
=== calc [n=ccheney@conr-adsl-209-169-124-200.consolidated.net] has joined #ubuntu-kernel
=== instabin|work [n=instabin@c-68-32-128-115.hsd1.pa.comcast.net] has joined #ubuntu-kernel
instabin|workIs any one working on getting the nvidia 100.14.11 drivers in to gutsy04:27
infinityYes.04:31
=== johanbr [n=j@JBrannlund.MathStat.Dal.Ca] has joined #ubuntu-kernel
=== chrisle [n=chris@e178122004.adsl.alicedsl.de] has joined #ubuntu-kernel
=== chrisle [n=chris@e178122004.adsl.alicedsl.de] has joined #ubuntu-kernel
=== BFTD [n=thomas@67-150-254-75.oak.mdsg-pacwest.com] has joined #ubuntu-kernel
=== dhon__ [n=dhon@60-240-97-109.static.tpgi.com.au] has joined #ubuntu-kernel
=== pmjdebruijn [n=pmjdebru@ds9.pcode.nl] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== bronson [n=bronson@adsl-76-202-198-213.dsl.pltn13.sbcglobal.net] has joined #ubuntu-kernel
=== Starting logfile irclogs/ubuntu-kernel.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-kernel
=== Topic for #ubuntu-kernel: Ubuntu kernel development discussion ONLY | Kernel Wiki: https://wiki.ubuntu.com/KernelTeam | Latest kernel upload: 2.6.22-9.25 | Latest news: -rt and -xen kernels re-added | New Kernel Team machine: http://kernel.ubuntu.com/
=== Topic (#ubuntu-kernel): set by lamont at Fri Aug 3 16:12:28 2007
=== m0rg0th [n=m0rg0th@219.64.120.181] has joined #ubuntu-kernel
=== dorileo [n=dorileo@201.40.162.47] has joined #ubuntu-kernel
=== chrisle [n=chris@e178122004.adsl.alicedsl.de] has joined #ubuntu-kernel
=== m0rg0th [n=m0rg0th@219.64.120.181] has joined #ubuntu-kernel
=== IntuitiveNipple [n=TJ@alexandros.tjworld.net] has joined #ubuntu-kernel
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel
=== NativeAngels [n=Native@host86-146-52-246.range86-146.btcentralplus.com] has joined #ubuntu-kernel
NativeAngelshello10:42
NativeAngelsis there anyone in here who knows about unrealirc and neostats10:42
=== verwilst [n=verwilst@d51A4A585.access.telenet.be] has joined #ubuntu-kernel
mjg59NativeAngels: This sounds like the wrong place to ask10:42
NativeAngelsi know10:43
NativeAngelssorry10:43
verwilsthellow!10:44
NativeAngelshello10:44
verwilsti'm building the -xen kernel for amd6410:44
verwilsti did an apt-get source linux-source-2.6.2210:44
verwilstand then debuild10:44
=== jweyrich [n=phoenix@189.5.194.90] has joined #ubuntu-kernel
verwilstbut this will take aaaages :)10:44
verwilstis there an easy way to only build the -xen kernel?10:44
verwilst):10:44
verwilstit's done "build-generic  build-server  custom-build-rt  custom-source-rt" so far :)10:45
verwilstbtw any reason why -xen is i386-only?10:45
verwilstand not amd64?10:45
=== Instabin [n=instabin@oh-76-5-123-160.dhcp.embarqhsd.net] has joined #ubuntu-kernel
JanCverwilst: because it doesn't compile on amd64 AFAIK  :)11:14
verwilstoh?11:14
verwilstwe'll soon know =-11:14
verwilst:)11:14
verwilsti'm compiling it now11:14
JanCI might be wrong, but I'm sure there must be a good reason11:15
verwilsti could really use an amd64 version of the -xen though :)11:16
verwilstthe 2.6.18 from xensource has ext3 corruption11:16
verwilstas i experienced :p11:16
JanCXen patches seem to be constantly outdated compared to current kernels anyway  :)11:16
verwilstyeah11:17
verwilstmaybe i should just use a 32bit system instead of a 64bit..11:17
verwilstbut 64bit is a lot faster imo11:17
verwilstdoes the -generic have pae?11:17
JanChm, what's the kernel config option for PAE again?11:23
JanCanyway, there are -server kernels too11:24
verwilsti need to use -xen, stupid me :)11:25
verwilst32bit, with -xen11:25
verwilstcan i go over 4GB RAM with it?11:25
JanCI have no -xen kernels installed11:27
=== phoenixx [n=phoenix@189.5.194.90] has joined #ubuntu-kernel
JanCI guess they support > 4 GiB of RAM if the patch allows for it11:30
=== tormod [n=tormod@80-219-112-71.dclient.hispeed.ch] has joined #ubuntu-kernel
=== tormod [n=tormod@80-219-112-71.dclient.hispeed.ch] has left #ubuntu-kernel []
=== cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-kernel
=== cobman [n=justinas@194.176.50.62] has joined #ubuntu-kernel

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