login
Header Space

 
 

semaphore access speed

September 30, 2008 - 2:18pm
Submitted by migurus on September 30, 2008 - 2:18pm.
Applications and Utilities

I came across peculiar situation which I posted and discussed here:

http://www.unix.com/high-level-programming/81568-semaphore-access-speed....

That discussion did not produce any results, so I want to try it here. In short, I am measuring the speed of system's ability to create a process, which simply accesses a semaphore and dies.

Results are:
modern h/w under SCO OpenServer 5 : 1800 times per sec
same modern h/w under Fedora 2.6.9 : 500 times per sec
old PIII under modern linux (have no info) : 900 times per sec.

I am trying to find a bottleneck on Fedora, why same h/w under old OS does it 3 times faster.

The thread at unix.com has all the info, including my source code, results of strace etc... I don't know the rules - should I post my code here? or just reference to unix.com suffice?

Any info/suggestions would be appreciated.
migurus

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <quote> <pre> <hr> <br> <p> <img> <blockquote> <font> <tt> <table> <tr> <i>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

speck-geostationary