The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #47 (permalink)  
Old 10-10-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
SemOp Benchmarks on various Linux servers

I have run benchmarks on the following hardware:
  • Xeon 3600, 1024k Cache, no SEP, no model #
  • Xeon 2800, 512k Cache, no SEP, no model #
  • Xeon 2333, 4095k Cache, no SEP, E5E45
  • Opteron 1000, 1024k Cache, no SEP, 270
  • Opteron 2000, 1024k Cache, SEP, 270
  • Opteron 2600, 1024k Cache, no SEP, 285
  • Opteron 2600, 1024k Cache, SEP, 285
These systems were under various amounts of load, so averages were taken, and they cannot be deemed 100% reliable. The benchmarks used a gettimeofday() call which looped for at least 3 seconds. The attached PDFs shows the results in terms of "Tics per SemOp". and "SemOps per Second".

Observations:
The Opteron 270 running at 1GHz and using int 80 for system calls was the fastest per clock tic. The fastest processors (the Xeons) were the slowest. This suggests the problem is the memory access.

The raw numbers show that the sysent call on the Opteron makes the semop about 14% faster. Static compilation generally improved speeds, though because of system load, I would not put much significance on these numbers. The only dynamic linking, really, is the library call to invoke a system call.

Analysis:
I'm going to leave it to others to explain this data.
Attached Files
File Type: pdf Semops Benchmark.pdf (123.7 KB, 17 views)
File Type: pdf Semops Benchmark2.pdf (124.8 KB, 15 views)