Home Man
Today's Posts

Device drivers, hardware compatibility issues, motherboards, disk drives, graphics cards and other hardware related topics.

Hyperthreaded virtual cores, different C-States?

Login to Reply

Thread Tools Search this Thread
# 8  
Old 10-26-2014
In my case 'the fix' was to put whole-core constraint on most utilized ldoms (databases) and keep the VCPUs count inside core boundary.

For instance, t5-2 sparc has 256 available VCPU (threads), which translates into 32 cores or 2 sockets 16 core each. For best performance one should give VCPU resources multiples of 8.
Be sure to reboot the hypervisor after such major changes.

Regarding HPVM (now vpars and Integrity VM) i would recommend using VPAR since they are configured only is such manner(dedicated cores for virtual machines and hypervisor).

Integrity VM can suffer from such 'misconfiguration' as well since it (can) share cores.

Nice blog about it, a bit old but good.
# 9  
Old 10-30-2014
Often cache is just reloaded from the lower, slower layers on the new core, and eventually snooped empty on the old core when the data is modified. This means that while a different core may be available at an instant, it is better to wait a bit for the old core, which may not be 100% busy in the longer term. Of course, some caches cache keyed on virtual addresses, not physical ones, and may be flushed when other processes use the core. For them, dispatching multiple threads of the same process in succession reduces cache flushing. So, while you have asked for concurrent threads, that might actually be made less true in the fine by the system.

Hyperthreading is only for same-process threads, as they share the same virtual space. It is a nice way to increase use of CPU resources, with some added delay when threads' needs collide. It is an interesting alternate direction to the trend in modern CPU design to do speculative operations that are 50% or more a waste of the resource, but speed the critical thread. I find it reminiscent of the old Honeywell-800, where the CPU ran instructions of up to 8 threads more or less in rotation. (If you loaded the accumulator, it did not 'hunt', so many programmers used the accumulator as a register to hog the CPU and speed their thread.) I used to fix this stuff, before it crawled inside a chip!
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Ps command showing different states for same process TomG Shell Programming and Scripting 1 05-04-2015 10:41 AM
Count no of netstat states Roozo Shell Programming and Scripting 6 07-31-2014 01:56 AM
Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host Matt_VB Solaris 4 04-29-2012 11:56 AM
Unix process states tinkerbeast UNIX for Advanced & Expert Users 2 02-22-2012 05:15 AM
Have to log out of a virtual terminal twice in order to exit virtual terminals Narnie UNIX for Dummies Questions & Answers 1 02-24-2010 01:48 AM
meaning of states in sun clusters mayahari Solaris 1 09-09-2009 06:13 AM
Is there any Virtual data center as we have Virtual Machine? karman0931 Solaris 2 07-18-2009 08:25 AM
laymens terms for netstat states eloquent99 IP Networking 1 03-10-2003 10:02 AM

All times are GMT -4. The time now is 01:38 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password