what is Lock Contention?

Discussion in 'General Mac Discussion' started by blue&whiteman, May 13, 2004.

  1. macrumors 65816

    blue&whiteman

    Joined:
    Nov 30, 2003
    #1
    this is one of the tests xbench does on the cpu. my G4/500 cpu (a 7410 ver. 1.4) almost doubles the score of a sawtooth 500 (7400 ver. 2.8).

    so what is lock contention? in all the other cpu tests the 2 were almost totally equal.

    how can 2 cpu's of the same type and speed differ so much? is the 7410 really that much better at some tasks over the 7400?

    my cpu in blue
     

    Attached Files:

  2. thread starter macrumors 65816

    blue&whiteman

    Joined:
    Nov 30, 2003
    #2
    I have looked all over the internet and still cannot find an answer. most of the results I found with the term lock contention seemed to be sun miro oriented though.

    there must be someone here that knows.
     
  3. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #3
    I looked at wikipedia.org and determined from the article on locks in computer science and the article on contention that the test measures how well a multiprocessor system can cope with two threads competing for a lock on the same resource.
     
  4. thread starter macrumors 65816

    blue&whiteman

    Joined:
    Nov 30, 2003
    #4
    my system and the one it beat are both single G4's though..

    hmm. this seems to be a hard one. maybe I will email the maker of xbench.
     
  5. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #5
    Lock contention is a threading test - it works on single-processor Macs like your G4, but it was designed to test multi-processor Macs. Since all Mac OS X systems are threaded, regardless of how many processors they have, there isn't anything wrong I can see with your results.
     

Share This Page