Displaying 1 result from an estimated 1 matches for "reboose_interval".
2009 Nov 18
7
Measuring cpu migrations
Hi,
I am looking to measure how long a thread takes to migrate between cpu''s and how often , what I have is below which is checking just one process is this the correct track to be on here?
My aim is to look at a process and look at upping the reboose_interval on some of our servers.
#!/usr/sbin/dtrace -s
sched:::off-cpu
{
self->cpu = cpu;
self->timestamp=timestamp;
}
sched:::on-cpu /self->cpu != cpu && execname=="mstragent"/
{
printf("%s migrated from cpu %d to cpu %d nsec:%d \n",execname,self->cpu,...