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



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
semaphore raguramtgr UNIX for Dummies Questions & Answers 7 06-15-2009 09:39 AM
Semaphore Jaken Shell Programming and Scripting 2 04-04-2009 05:10 PM
dmidecode, RAM speed = "Current Speed: Unknown" Santi Filesystems, Disks and Memory 0 02-16-2006 06:16 AM
Semaphore vjsony UNIX for Dummies Questions & Answers 3 04-07-2003 02:06 PM
semaphore yls177 UNIX for Dummies Questions & Answers 1 10-08-2002 11:18 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 4.00 average. Display Modes
  #43 (permalink)  
Old 10-08-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
Ramen_noodle and migurus, can you please post the result of the following command here:

Code:
 grep -E "(model|cpu|flags)" /proc/cpuinfo  |sort -u
Thank you kindly. I'm especially interested in the "flags".
  #44 (permalink)  
Old 10-08-2008
ramen_noodle ramen_noodle is offline Forum Advisor  
Registered User
  
 

Join Date: Dec 2007
Location: Virginia, USA.
Posts: 251
Code:
cpu cores       : 2
cpu family      : 6
cpuid level     : 10
cpu MHz         : 1200.000
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est tm2 cx16 xtpr lahf_lm
model           : 15
model name      : Intel(R) Core(TM)2 CPU          4300  @ 1.80GHz
  #45 (permalink)  
Old 10-08-2008
migurus migurus is offline
Registered User
  
 

Join Date: Sep 2008
Location: US
Posts: 49
cpu family : 15
cpuid level : 5
cpu MHz : 3201.990
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm pni monitor ds_cpl cid xtpr
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
  #46 (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,884
Thanks Migurus. So "sep" is not implemented on your XEON, confirming that the syscall/sysent thingy is a red herring.
  #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,884
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)
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0