The processor type of your Linux machine is x86_64 (aka AMD64).  You'll 
see this if you run "uname -a" on your Linux machine.  Processor type 
x86_64 is different from IA64 (Itanium) so you cannot install STAF Linux 
for IA64 on a x86_64 machine (or vice versa).  Itanium is a family of 
64-bit Intel microprocessors that implement the Intel Itanium architecture 
(formerly called IA-64). The Itanium processors are marketed for use in 
enterprise servers and high-performance computing systems.   You can 
google for more information on the differences between these processor 
types. 

As far as performance, note that a simple request like STAF PING runs very 
quickly on  a machine running STAF for Linux AMD64.  As you can see, 5000 
local STAF PING requests can be run in 1 second.

[root@staf4g ~]# STAFLoop 10 local PING PING
Total loops: 10
Total time : 0.002
Avg. time  : 0.000
Loops/sec  : 5000

A PROCESS START request  without the WAIT (which doesn't wait for the 
command to complete) takes a little longer because it does more things but 
can still submit 104 processes per second.

[root@staf4g ~]# STAFLoop 10 local PROCESS START SHELL COMMAND "ls /"
Total loops: 10
Total time : 0.096
Avg. time  : 0.009
Loops/sec  : 104.167
[root@staf4g ~]#

A PROCESS START WAIT request does even more things and takes longer 
because it also has to wait for the command to complete.

[root@staf4g ~]# STAFLoop 10 local PROCESS START SHELL COMMAND "ls /" 
RETURNSTDOUT RETURNSTDERR WAIT
Total loops: 10
Total time : 9.507
Avg. time  : 0.950
Loops/sec  : 1.05186

However, if you're only running commands that complete very quickly (like 
"ls /") and only on your local Linux machine, then you could simply have a 
shell command that runs your "ls /" command in a loop.  The power of 
running a process via STAF is more evident when you want to run processes 
on remote machines, and/or on machines with different operating systems, 
etc. 

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   邓悟 <den...@taobao.com>
To:     "staf-users@lists.sourceforge.net" 
<staf-users@lists.sourceforge.net>, 
Date:   09/20/2011 06:02 AM
Subject:        [staf-users] Why can't I use STAF341-linux-ia64.tar.gz on 
my 64 bit intel cpu platform?



I tried staf on my 64 bit intel platform, but STAF341-linux-ia64.tar.gz 
cannot execute, the prompt is:
 
/usr/local/staf/bin/STAFProc: /usr/local/staf/bin/STAFProc: cannot execute 
binary file
 
STAF346-linux-amd64.tar.gz works fine on my intel 64bit platform, but it’
s issue is too slow to execute a command. 
My test like this:
STAFLoop 10 local PROCESS START SHELL COMMAND "ls /" RETURNSTDOUT 
STDERRTOSTDOUT WAIT
Total loops: 10
Total time : 9.480
Avg. time  : 0.948
Loops/sec  : 1.05485
 
Anyone has experience using staf on intel 64bit platform?
 
 
My cpu is :
Processors:     2 x Xeon 2.80GHz 800MHz FSB (HT enabled, 4 threads) - 
Nocona E0, 64-bit, 90nm, L2: 1MB
 
thanks
dengwu
 
 

This email (including any attachments) is confidential and may be legally 
privileged. If you received this email in error, please delete it 
immediately and do not copy it or use it for any purpose or disclose its 
contents to any other person. Thank you.

本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请
您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之
内容。谢谢。
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to