Page 2 of 4

disabled hyperthreading helps with crashes ...

Posted: 5. Oct 2007, 13:47
by freimann
after 24 hours on my Slack 12.0 box with Pentium-4 and HT disabled I am still running without any crash - having two VM - Win-XP and Win-2000 running all the time - doing heavy graphics editing in Adobe Photoshop & website editing in Dreamweaver (512 Mb VM) and with W2K running MS Exchange 2003 ...

Posted: 5. Oct 2007, 15:06
by sitor
Freimann,

What do you mean with HT disabled? What is HT?

Ciao,

Sitor

HT

Posted: 5. Oct 2007, 15:12
by freimann
HT means hyperthreading - I have disable HT support for my P4 CPU in BIOS and now (at least so far :-)) I have no crashes for more than 24 hours of heavily using my two VM's in Slackware 12.0 ... I haven't noticed any significant performance degradation after switching the HT off ...

Posted: 5. Oct 2007, 15:34
by sitor
I'll give that a try, but I'm rather pessimistic, as Virtualbox runs great very stable on Windows, just not on Linux. Unless of course the newer linux kernels use that hyperthreading possibilities differently or something. Thanks for informing us in any case. Gives hope...

Posted: 5. Oct 2007, 18:12
by vista killer
First abort yesterday in ubuntu gutsy :P

Posted: 6. Oct 2007, 13:12
by sitor
Hmm, looks like this is leading somewhere. Don't have something with HT or Hyperthreading in the name of any feature of the BIOS, but I do have dual processor support and speedstep. Turning of those two, I had an uptime of 14 hours before I stopped the VM myself (OK, I didn't do much with, it was just idle, but that was also the case sometimes when it aborted all the time).

Now, I'm going to test which of the two features is the one that causes the aborts: dual processor support or speedstep.

48 hours uptime

Posted: 6. Oct 2007, 14:10
by freimann
after disabling hyperthreading in BIOS there was NO MORE CRASHES for almost 48 hours now ..

sitor - i think hyperthreading and dual processor support are very similar things - HT just makes my P4 act as two independent CPU's ...

i had these problems with HT before - my slack box would crash with some USB bluetooth dongle but turning HT off would help then ...

Posted: 7. Oct 2007, 09:54
by sitor
OK, it definitely seems to be the dual processor support. When I leave that on and disable speedstep, still aborts, when I disable dual processor support and enable speedstep, I could keep it running for 18 hours in a row before ending it myself.

Good! I found a temporary solution, even if that slows down my machine a bit.

Thanks again for the tip freimann!

Ciao,

Sitor

Posted: 8. Oct 2007, 00:03
by vatbier
Are these aborts happening only on Intel Pentiums or also on Amd Athlon 64 X2 Dual Core Processor (which I have)?

aborts

Posted: 8. Oct 2007, 00:55
by dmontywilliams
Have not experienced the problem on this system:
intel core 2 duo 6600
Mandriva 2007.1 kernel 2.6.17.15 host
Windows XP guest
VirtualBox 1.5.0 proprietary

But then, I do not leave Windows on all that long.

crashes and kernel versions ...

Posted: 8. Oct 2007, 09:41
by freimann
this has already been discussed - kernels up to 2.6.18 work fine ... higher versions will make VM crash - disabling HT would help but with a performance penalty - tested on P4 and Core2 6600 Quad core ... the crashes can happen anytime - regardless of how long you run the VM ... i am not able to pinpoint a single action that would be the cause - it would crash even when running alone in another virtual desktop without ANY user action - btw i am using KDE 3.5.7 - have not tested with other WM

Processor Types

Posted: 9. Oct 2007, 01:29
by holvenstot
Vatbier -

I run an AMD64 X2 4600+ and see the dreaded "guest abort" problem on a regular basis so it is not just limited to Intel products.

I can not comment on the multi-core / single-core aspect as my CPU and chipset does not allow me to disable the second core

Chris

Window Manager

Posted: 9. Oct 2007, 01:34
by holvenstot
Freimann -

Between the two of us I think that we have the Window Manager thing covered.

Normally I run Gnome as a desktop with Beryl as my window manager but I have also run with Gnome using the standard Metacity window manager and even "fallen back" to a plain Motif Window Manager system.

None of these changes seem to effect the abort issue.

Chris

how to disable hyperthreading ..

Posted: 9. Oct 2007, 09:15
by freimann
to holvenstot - you can easily disable hyperthreading without any change to your BIOS - simply append the following parameter to your kernel command line : "ht=off" (in your lilo.conf or grub menu.lst)

Thanks Friemann

Posted: 9. Oct 2007, 15:45
by holvenstot
Thank you for the information - Hyper-Threading is an Intel technology which was used to improve the multi-tasking performance of their Pentium 4 processors. Of course these were single-core processors.

I have a number of Lenovo ThinkPads for work which all have Intel Duo Core processors - in the case of these machines there is a BIOS setting to drop back to being a "single core" system - which I have used several times in an effort to flush out serialization issues with platform I support.

This is why I went looking for the same type of BIOS option on the AMD processor used in my personal system. But this option does not seem to exist.

I am not sure what effect the Hyper-Treading switch you suggested would have on an AMD processor, but you got me to thinking and I will build a kernel this afternoon with CONFIG_SMP turned off - this should force me to run on a single core.

Chris