SLAC ESD Software Engineering Group
Stanford Linear Accelerator Center

Memory and CPU testing

SLAC Computing
Software Engineering
Detailed
Unix
 

 

This web page has some instructions on how to use all the CPU and Memory for testing.

 


Matlab:

  • Type:    matlab -nosplash -nodesktop
    • At the Matlab prompt:    t1 = cputime; [U,S,V] = svd(rand(3162,3162)); t=cputime-t1   (start as many as you need)

 

  • To exercise CA:
    • Type:    matlab -nodesktop -nosplash -r startLCLS,aidapvcheck
    • (It does an aidalist for everything epics and attempts an lcaGet one pv at a time.  Try running several of these say one or two minutes apart.)

 

Memory:

  • dd if=/dev/urandom bs=20793048 of=/scratch/memtest count=1050
  • This will slowly fill up the memory:  20793048 is the amount of memory via the "free" command

 

lcaget:

  • matlab -nodesktop -nosplash -r startLCLS,aidapvcheck   
  • It does an aidalist for everything epics and attempts an lcaGet one pv at a time.  Try running several of these say one or two minutes apart.

 

OrbitDisplay:

  • Run OrbitDisplay from lclshome @ 10Hz

 

 


[SLAC ESD Software Engineering Group][ SLAC Home Page]


Author: Ken Brobeck

Modified: 07-Dec-2009