[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: faster pthread_getspecific



> > On one platform I have tested, (I can not name for confidential reason),
> > the pthread_getspecific() takes 1% of cpu time running Tomcat/JVM. The
> > pthread_getspecific() used on this system takes less than 10 instructions
> > in total. The current NPTL pthread_getspecific() is much slower than that.
> 
> Can you quantify "much".

I can not give the number, since I am not able to run the same application
on the same system with nptl. If I just count the number of instructions
in the pthread_getspecific() itself, I think it will be 3x-5x slower.

Hong





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]