1

I have a Dell 1950 Poweredge server with two Quad Core Intel Xeon 2.33 GHZ and 16 GB of RAM under Gentoo Linux. I'm running heavy calculation task which I don't know how they were implemented ...

Top gives my partial infos (%CPU, ...) but I don't know if the script is running on the 2 CPUs

I would like to monitor both CPU load/activity (like top does for the entire system) to see if the script takes advatage of the dual CPU or not ?

Except recoding the script, how to optimize the payload for 2 CPU ?

Kami
  • 1,414
  • 12
  • 25

2 Answers2

3

When running top press the '1' key for per-cpu info.

Chopper3
  • 100,240
  • 9
  • 106
  • 238
1

Note that if you've got 2 quad core processors, you've actually got 8 CPUs.

Optimizing serial jobs for parallel processing is a non trivial exercise.

Can you split the calculation into 8 parts and run 8 copies of the script on the separate data ranges?

xenny
  • 780
  • 4
  • 8