Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* CPU states and slow Alpha. Help!
@ 1998-06-09  4:00 Luigi Cavallo
  1998-06-09  4:00 ` Nils Faerber
  1998-06-10  4:00 ` Anton Ertl
  0 siblings, 2 replies; 3+ messages in thread
From: Luigi Cavallo @ 1998-06-09  4:00 UTC (permalink / raw)



Dear all,

I just bought an alpha clone, and I am still trying to tune the 
performances of the machine.  
I am a chemist, and my main job is doing chemistry, thus, my knowledge
of computers is somewhat "good" but I can't say I am a guru. 

I found that my new alpha is performing poorly. To arrive to that
conclusion,
I run the same program (the one I need to work) on 3 different linux 
computers. These are the three computers I tested on:

All of them with 64 Mb of RAM

1) Pentium Pro 200MHz EIDE HD 
2) Alpha clone 533MHz SCSI HD  (of a friend)
3) Alpha clone 600MHz EIDE HD  (the new one, the slow one)

After test completation, the CPU timings I have for the 3 computers are
in line with the specf95 benchmarks, and for the first two computers
(PPro EIDE and Alpha 533 SCSI) the elapsed time is very close to the CPU
time. For the third one, the alpha 600 EIDE, the elapsed time is far
greater than the CPU time.

During tests execution, I run "top", and I found that the idle CPU % on 
the first two computers are very close to 1%, while the idle CPU % on
the "slow" new alpha usually is very close to 10%.

Does it mean that the CPU is waiting for something ??

Could it be due to the EIDE vs SCSI ? I know that there's a great debate
and that SCSI are definitely faster. However, with the PPro I have a
EIDE
HD and the performances are very nice, no slowdown at all.

Maybe, EIDE drivers for alpha are not as good as those for Intel ???

Any and all suggestions highly appreciated ....

Thanx in advance,
Dr. Luigi Cavallo
Dept. of Chemistry
Univ. of Naples
email: cavallo@chemna.dichi.unina.it
-------------------------------------

Below, the screen output of the top command on tye three computers...

------------  Pentium Pro 200 MHz - HD EIDE Quantum Fireball
--------------

CPU states: 97.8% user,  1.1% system, 98.5% nice,  1.2% idle
Mem:   63436K av,  62400K used,   1036K free,  12444K shrd,    224K buff
Swap: 130748K av,  22612K used, 108136K free                  5708K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME
COMMAND
 7142 cavallo   20   0 68176  48M   900 R       0 97.8 78.6 163:87  adf

------------  Alpha clone 533 MHz - HD SCSI
------------------------------

CPU states: 99.2% user,  0.5% system, 99.7% nice,  0.3% idle
Mem:  62360K av, 61320K used,  1040K free, 12704K shrd,  2296K buff
Swap: 132088K av,  6832K used, 125256K free               26168K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM    TIME
COMMAND
 6740 ldeng     14   0 22576 20928  2432 R    18344 99.0 16.7 151:25 adf

------------  Alpha clone 600 MHz - HD EIDE
------------------------------

CPU states: 63.8% user, 25.7% system,  1.9% nice, 10.9% idle
Mem:   62160K av,  61424K used,    736K free,  42936K shrd,  11208K buff
Swap: 133232K av,    128K used, 133104K free                 27384K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME
COMMAND
  596 cavallo   19   0 10272  10M  3144 R    6968 78.8  8.2 225:23 adf
----------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CPU states and slow Alpha. Help!
  1998-06-09  4:00 CPU states and slow Alpha. Help! Luigi Cavallo
@ 1998-06-09  4:00 ` Nils Faerber
  1998-06-10  4:00 ` Anton Ertl
  1 sibling, 0 replies; 3+ messages in thread
From: Nils Faerber @ 1998-06-09  4:00 UTC (permalink / raw)



Luigi Cavallo <cavallo@chemna.dichi.unina.it> wrote:
: Dear all,
Hi ;)

: I found that my new alpha is performing poorly. To arrive to that
: conclusion,
: I run the same program (the one I need to work) on 3 different linux 
: computers. These are the three computers I tested on:
[...]
: During tests execution, I run "top", and I found that the idle CPU % on 
: the first two computers are very close to 1%, while the idle CPU % on
: the "slow" new alpha usually is very close to 10%.
: Does it mean that the CPU is waiting for something ??
Which distribution do you use?
RedHat5.0 had some problems with NIS (although one does not use it!). They
have updated rpc.* packages and new libc which solved some of my latencies I
saw on my newly installed Alpha. The reason seemed to be that unknown user
IDs were tried to match against some NIS entries which not existed (again no
NIS configured!). So the machine hang for some seconds and the started
again. This only happened sometimes ;(
Maybe this is your problem too. Does your testprogram create files?
Anyways if you installed RH5.0 I recommend upgrading to 5.1!

: Thanx in advance,
: Dr. Luigi Cavallo
CU
  nils

-- 
Nils Faerber (Linux Nils)        eMail: nils@unix-ag.org
Student of computer science      http://www.si.unix-ag.org/~nils/
Unix user group, University of Siegen, Germany

Siegen ... the arctic rain forest!
--



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CPU states and slow Alpha. Help!
  1998-06-09  4:00 CPU states and slow Alpha. Help! Luigi Cavallo
  1998-06-09  4:00 ` Nils Faerber
@ 1998-06-10  4:00 ` Anton Ertl
  1 sibling, 0 replies; 3+ messages in thread
From: Anton Ertl @ 1998-06-10  4:00 UTC (permalink / raw)
  To: Luigi Cavallo


In article <357D478F.74DDE64B@chemna.dichi.unina.it>,
 Luigi Cavallo <cavallo@chemna.dichi.unina.it> writes:
> Could it be due to the EIDE vs SCSI ? I know that there's a great debate
> and that SCSI are definitely faster. However, with the PPro I have a
> EIDE
> HD and the performances are very nice, no slowdown at all.
> 
> Maybe, EIDE drivers for alpha are not as good as those for Intel ???

The CMD 640 IDE chipset used on Alpha mainboards is bad. If your
application has significant disk activity, go for SCSI on Alphas.

Hmm, looking at your top outputs it looks to me like your application
is one of the rare cases that eats all of the CPU it can get but also
has significant disk utilization.

Your application may profit more from more RAM than from SCSI (if that
reduces the number of disk accesses a lot).

> ------------  Alpha clone 533 MHz - HD SCSI
> CPU states: 99.2% user,  0.5% system, 99.7% nice,  0.3% idle
...
> ------------  Alpha clone 600 MHz - HD EIDE
> CPU states: 63.8% user, 25.7% system,  1.9% nice, 10.9% idle

The 25.7% system time is apparently the IDE driver, your process
obviously gets only 63.8% of the CPU for useful work. The 10.9% idle
may come from the process waiting for data from the disk; the CPU is
faster, maybe the disk is slower, so the process might become
disk-bound.

Let me guess: most disk accesses are writes (if there was a
significant number of reads, we would see idle time on all
machines). Then RAM probably won't help much.

- anton
-- 
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-06-10  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-09  4:00 CPU states and slow Alpha. Help! Luigi Cavallo
1998-06-09  4:00 ` Nils Faerber
1998-06-10  4:00 ` Anton Ertl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox