logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Adding a field to StgTSO: msg#00151

Subject: Re: Adding a field to StgTSO
There's not too many StgMainThreads around, so why do
you think there's a perf win (at the cost of adding another
word to every TSO)?

When implementing my bound threads proposal, I'd have to query the MainThread for every TSO that is scheduled. How many is "not too many"? There is one for each call-in to the RTS, couldn't that become a problem? I'm just afraid of doing a linear scan each time.

But no, I'm not absolutely convinced, and I can just do my linear scans for now. If it's indeed a performance problem, we'll find out soon enough.

Cheers,

Wolfgang



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>