#1044 closed System Defect (fixed)

Hyperthreading causing problems with resume from suspend (state S3)

Reported by: q/pa Owned by: kris
Priority: minor Milestone:
Component: System Configuration Version: 9.2-RELEASE
Keywords: resume, suspend, hyperthreading, sluggish, responsiveness Cc: trac-bugs@…


Thinkpad T520, Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz, 8GB RAM, dedicated Nvidia graphics, PCBSD 9.2-RELEASE-p12 FreeBSD 9.2-RELEASE-p12

I tested suspend-to-RAM (STR) state S3 and resume from S3 with different settings:

  1. Hyper-Threading (HT) activated
  2. HT deactivated

@1: When HT is activated (BIOS setting), most often with the second resume from STR the whole system is only responding sluggishly (as described in my first posts above). This behaviour is independent from the desktop environment I am using. Be it XFCE, LXDE, KDE or fluxbox). "vmstat -i" is not showing signs of an interrupt storm or any other abnormality. I tried unloading and loading different modules in the rc.suspend / rc.resume scripts but without any success.
Another thing is that when shutting down the system the screen turns black (or blank for that matter) right after you see the logout screen but shutdown is performed normally. The only exception to this is when I was using LXDE before shutdown.

@2: With HT deactivated in BIOS switching to state S3 and resuming seems to work always (though I have not tested it more than 8 times in a row).
The issue with the blank screen after logout when shutting down is exactly the same as described in 1.

Change History (4)

comment:1 Changed 12 months ago by joshms

  • Owner set to kris
  • Priority changed from major to minor

Would you mind posting your findings on Hyper-Threading in our tips and tricks section of the forums? I could see other users having a real use for this information. I'm not sure there is anything we can viably do at this time to help with Hyper-Threading unfortunately (probably a freebsd issue), but i'll make sure to ping Kris on this. In the mean time we'll also look into the shutdown issue for you.

comment:2 Changed 12 months ago by q/pa

Thank you for your answer. I forgot to mention that I am getting the message "CPU0: local APIC error 0x80" Maybe it has something to do with the fact that STR/resume is only working with HT deactivated.

I do not mind to post this tip, of course.

Thanks again, I am looking forward to any of your findings.

comment:3 Changed 10 months ago by q/pa

Update on this matter:

Meanwhile did a fresh install of 10.0.2-EDGE.

All of the above mentioned problems seem to be resolved in PCBSD 10.

comment:4 Changed 10 months ago by kris

  • Resolution set to fixed
  • Status changed from new to closed

Closed per user feedback on 10.x

Note: See TracTickets for help on using tickets.