Sponsored Content
Special Forums UNIX and Linux Applications High Performance Computing IBM Hardware: Test speed of an execution core reliably. Post 302852907 by Corona688 on Thursday 12th of September 2013 03:12:05 PM
Old 09-12-2013
Multithreading does not work that way; two cores can't cooperate to run a single-threaded program faster. Single-threaded programs will run slower on machines with lots of slower cores; we've had some puzzled folks ask us why their new machines have worse single-threaded benchmarks than their old ones.

But more cores means you can run more threads or processes at once without sharing time; more total work can be accomplished in the aggregate; but a program has to be designed with this in mind (or multiple instances of it run) to take advantage of this capability.
 

8 More Discussions You Might Find Interesting

1. AIX

FTP Speed Problem on IBM P-Series equiped with AIX 5.2

Hi, We have IBM P-Series servers (P690, P650) equiped with AIX 5.2. Further we have 10/100 MB ethernet cards in P650 and 10/100/1000 MB ethernet cards in P690 servers. Servers are on a LAN connected with Cisco 3750 catalyst switch. FTP from one server to another is very slow,,,even 3-4 MB... (3 Replies)
Discussion started by: aqeelcu@hotmail
3 Replies

2. AIX

IBM Hardware question

I am looking to buy a 7044 - either a 170 or 270. From what I can find on web searchs the 170 is NOT upgradable to more that one CPU? Is that correct? Can I upgrade the planer on a 170 to a 270 to support multiple CPU's? Does anyone have any other suggestion for AIX hardware? (5 Replies)
Discussion started by: dizman67
5 Replies

3. UNIX for Advanced & Expert Users

speed test +20,000 file existance checks too slow

Need to make a very fast file existence checker. Passing in 20-50K num of files In the code below ${file} is a file with a listing of +20,000 files. test_speed is the script. I am commenting out the results of <time test_speed try>. The normal "test -f" is much much too slow when a system... (2 Replies)
Discussion started by: nullwhat
2 Replies

4. AIX

core dump generation in IBM machine

Hi, im getting a core dump file in a AIX machine while using a complex c++ program. The same program is working without any core error in another system with sun OS 5.9. The program has used structs, LL's and lots of call by references. What may be the reason. will it be a problem with the OS ? (3 Replies)
Discussion started by: suresh_kb211
3 Replies

5. Solaris

hardware test fails

Hi, I have a SunFire 280R abd when I boot it there is a hardware check running and it fails. Here is a long output of the test rsc> poweron Are you sure you want to turn your system power on (Yes/No)? yes rsc> console RSC Alert: Host System has Reset @(#)OBP 4.5.10 2002/02/11 10:39... (2 Replies)
Discussion started by: Tex-Twil
2 Replies

6. Hardware

Hardware Correction: How to change DVD write speed

I am now on Kernel 2.6.32-26 For me 16x CD write speed is okay. I have old hardware which was able to write DVDs at 1x, back in previous linux version. Now, I dont get speed of less than 4x. Tested on k3b, xfburn, and brasero. But all start at bottom 4x write speed. k3b forced back to... (0 Replies)
Discussion started by: makh
0 Replies

7. AIX

New to AIX and IBM Hardware. Need some info

Hello all. I'm new to AIX and IBM hardware and I have a question around the configuration of the service processor on the power series. I need to know: 1) How do I get into the service processor from the serial console when AIX is up and running. I come from the Sun world and I tried all I know.... (1 Reply)
Discussion started by: glenc2004
1 Replies

8. Hardware

How to test the speed of your WIFI network?

Dear all, Would you know how to measure the max speed of a WIFI connection between a router and a laptop for instance? Many thanks for your help! Regards, (3 Replies)
Discussion started by: freddie50
3 Replies
XInitThreads(3) 						  XLIB FUNCTIONS						   XInitThreads(3)

NAME
XInitThreads, XLockDisplay, XUnlockDisplay - multi-threading support SYNTAX
Status XInitThreads(void); void XLockDisplay(Display *display); void XUnlockDisplay(Display *display); ARGUMENTS
display Specifies the connection to the X server. DESCRIPTION
The XInitThreads function initializes Xlib support for concurrent threads. This function must be the first Xlib function a multi-threaded program calls, and it must complete before any other Xlib call is made. This function returns a nonzero status if initialization was suc- cessful; otherwise, it returns zero. On systems that do not support threads, this function always returns zero. It is only necessary to call this function if multiple threads might use Xlib concurrently. If all calls to Xlib functions are protected by some other access mechanism (for example, a mutual exclusion lock in a toolkit or through explicit client programming), Xlib thread ini- tialization is not required. It is recommended that single-threaded programs not call this function. The XLockDisplay function locks out all other threads from using the specified display. Other threads attempting to use the display will block until the display is unlocked by this thread. Nested calls to XLockDisplay work correctly; the display will not actually be unlocked until XUnlockDisplay has been called the same number of times as XLockDisplay. This function has no effect unless Xlib was successfully initialized for threads using XInitThreads. The XUnlockDisplay function allows other threads to use the specified display again. Any threads that have blocked on the display are allowed to continue. Nested locking works correctly; if XLockDisplay has been called multiple times by a thread, then XUnlockDisplay must be called an equal number of times before the display is actually unlocked. This function has no effect unless Xlib was successfully ini- tialized for threads using XInitThreads. SEE ALSO
Xlib - C Language X Interface X Version 11 libX11 1.5.0 XInitThreads(3)
All times are GMT -4. The time now is 10:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy