Re: [zfs-discuss] Surprise Thread Preemptions

2011-01-18 Thread Jim Mauro
Hi Kishore - If memory serves, the kernel uses the preemption mechanism when a thread uses its time quantum and thus must be forced to give up the CPU. If your "myprogram" threads are compute-bound, I would suspect they are being preempted by other myprogram threads of the same priority due to tim

Re: [zfs-discuss] Surprise Thread Preemptions

2011-01-18 Thread Phil Harman
Big subject! You haven't said what your 32 threads are doing, or how you gave them the same priority, or what scheduler class they are running in. However, you only have 24 VCPUs, and (I assume) 32 active threads, so Solaris will try to share resources evenly, and yes, it will preempt one of