Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

LWP migrating from one CPU to another in Solaris 2.5.1?

CPU LWP migrating Solaris
0
Posted

LWP migrating from one CPU to another in Solaris 2.5.1?

0

Hej Magnus! Kanska… > Hi! > > I’ve got a question about threads in Solaris 2.5.1, that I hope You can > answer for me! > > Short version: > How does the algorithm work that causes an LWP to migrate from one CPU to > another CPU in Solaris 2.5.1? The LWP gets contexted switched off CPU 0. When a different CPU becomes available, the scheduler looks to see how many ticks have passed. Solaris 2.5: if less than 4, some other LWP (or none at all!) gets the CPU. If > 3, then just put the LWP on the new CPU. > Longer version: > I’m doing some research about a tool that I hope could be used by multi-thread > programmers in order to find and possibly correct perfomance bottlenecks. > Basically the tool works in three phases: > 1) By running the multi-threaded program on a single processor we create a > trace wich represent the behaviour of the program. > 2) By simulating (or re-schedule) the trace on a multi-processor we can tell > wether the program has the desired speed-up or not. > 3) The s

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123