Cadence NC-Sim performance under Dual-Pentium3 Linux?

Status
Not open for further replies.

Your Name

Usenet Archive
Joined
Mar 25, 2000
Messages
12
Reaction score
0
We've been using Cadence LDV32 (mainly NC-Verilog) under Solaris and Linux.

I have found that our dual-CPU Solaris machines (Ultra60 2/360, Blade-1000 2/750) are able to run 2 jobs at "full-speed." If I run job-A by itself, and it takes 5 minutes to complete, I can run job-A and job-B side by side, and job-A still completes in 5 minutes. I guess what I'm trying to say, is that the performance per Ncverilog job (1 job = 1 user running 1 instance/ license of NC-verilog) scales linearly up to 2 simultaenous jobs.

We recently added a dual-Pentium3 box to our compute environment. The dual-Pentium3 doesn't scale as well. Let's say, if job-A is run by-itself (no one else is using the dual-P3), job-A completes in 7 minutes. If job-A is run simultaneously with job-B, job-A's execution time increases to 11-minutes. Clearly, if BOTH CPUs are each running an NC-Verilog job, then both tasks stall.

I suppose my experience shows why multi-CPU x86 PCs haven't replaced multi-CPU Sun workstations (at least not for running large simulations.) But has anyone else tried this? I'd like to compare experiences. I'd like to hear from people who've run NC-Verilog with an AMD Athlon or Pentium4.

Our dual-P3 is a Supermicro P3TDDE, 4GB PC133 ECC CL3-reg Crucial SDRAM, 2 x Pentium3-S 1.26GHz CPU, and Redhat 7.2 (2.4.9-13 SMP-kernel.) Our typical simulation-job has a memory-footprint of ~500MB (a lot of that is just declared memory-arrays.)
 
Your name wrote:

We've been using Cadence LDV32 (mainly NC-Verilog) under Solaris and Linux.

I have found that our dual-CPU Solaris machines (Ultra60 2/360, Blade-1000 2/750) are able to run 2 jobs at "full-speed." If I run job-A by itself, and it takes 5 minutes to complete, I can run job-A and job-B side by side, and job-A still completes in 5 minutes. I guess what I'm trying to say, is that the performance per Ncverilog job (1 job = 1 user running 1 instance/ license of NC-verilog) scales linearly up to 2 simultaenous jobs.

We recently added a dual-Pentium3 box to our compute environment.
...

I've heard our O/S guru bemoaning the fact that he's moved over to Linux from BDSI Unix for his main working machine (he decided to be our Linux guinea pig). His major complaints about Linux are:

1. that its memory management algorithms are c**p compared to BSD Unix so that if it starts having to swap overall performance nosedives. Not quite as badly as WinNT but bad enough.

2. Its process scheduling algorithms are also c**p wrt BSD Unix. You can see this by loading up the machine with compute intensive background tasks and then looking at the graphics performance. Moving windows around slows down. Again not as badly as WinNT since under the same circumstances move a WinNT desktop item is like swimming in glue.

I suspect you are getting hit by #2 since you have enough memory to avoid #1.

One thing I've noticed is that in parallel with the take up of Linux there has been a sudden increase in activity in the BSD-Unix area - FreeBSD, OpenBSD, NetBSD.

Moral: Wait another 10 years or so for the Linux community to overcome its NIH and re-learn the lessons Unix spent 20-25 years working out. Then it might become a real multiuser/multitasking O/S.
 
Rick Filipkiewicz wrote:

I've heard our O/S guru bemoaning the fact that he's moved over to Linux from BDSI Unix for his main working machine (he decided to be our Linux guinea pig). His major complaints about Linux are:

1. that its memory management algorithms are c**p compared to BSD Unix so that if it starts having to swap overall performance nosedives. Not quite as badly as WinNT but bad enough.

I think it was 2.4.9 (?) where the VM subsystem was completely rewritten from scratch. (Rik van Riel's vs Andrea Arcangeli's. AA did a much better job with his rewrite.) It's odd that they'd replace something on the order of the whole VM subsystem in a "stable" kernel series but it was really that poor of a performer. It's not necessarily that the VMM would run out of memory, but that it wouldn't scan the entire memlist for free space or whatnot and would blindly hit swap after a while. You'd have to check the kernel.org changelogs. I do remember seeing 2 and 3-order allocation problems in my /var/log/messages after I'd do something like mount/umounting the CDROM 100 times as a test in a shell script. That was with 2.4.2-2.
Yuck.
 
Rick Filipkiewicz wrote:
........
Moral: Wait another 10 years or so for the Linux community to overcome its NIH and re-learn the lessons Unix spent 20-25 years working out.
.....

NIH? What does it mean?

Thanks in advance,

Marco
 
Marco Fioretti wrote:
Rick Filipkiewicz wrote:
>........
> Moral: Wait another 10 years or so for the Linux community to overcome
> its NIH and re-learn the lessons Unix spent 20-25 years working out.
.....

NIH? What does it mean?
Not Invented Here, I believe
 
Any chance of trying to run Solaris on the x86 and try out. Didn't they add a Linux compatability mode?
 
Your name writes:

We recently added a dual-Pentium3 box to our compute environment.

Even though most of the SUN's that I've used in the past are mostly dual or quad CPU systems. All the PC's (Intel and AMD) that I've purchased lately for simulation have been single CPU. Dual CPU PC's are not that much cheaper (if cheaper) than two single CPU machines.

If you're running two separate Verilog jobs, why not use two machines?

If you have some PLI or other support software which runs as a separate process then you might gain something by using a dual CPU system.

Petter
 
Hi
We use mainly SUN solaris. Lately we have bought a few linux machines. Here are the performance results on a small test:
The results are (in minutes) : SUN64bits- 19:56
SUN32bits- 28:08
linux - 46:30

the conclusions are : 1 : 1.65 : 2.33

Your name wrote:
We've been using Cadence LDV32 (mainly NC-Verilog) under Solaris and Linux.

I have found that our dual-CPU Solaris machines (Ultra60 2/360, Blade-1000 2/750) are able to run 2 jobs at "full-speed." If I run job-A by itself, and it takes 5 minutes to complete, I can run job-A and job-B side by side, and job-A still completes in 5 minutes. I guess what I'm trying to say, is that the performance per Ncverilog job (1 job = 1 user running 1 instance/ license of NC-verilog) scales linearly up to 2 simultaenous jobs.

We recently added a dual-Pentium3 box to our compute environment.
...
 
Rick Filipkiewicz writes:

I've heard our O/S guru bemoaning the fact that he's moved over to Linux from BDSI Unix for his main working machine (he decided to be our Linux guinea pig). His major complaints about Linux are:
[...]
2. Its process scheduling algorithms are also c**p wrt BSD Unix. You can see this by loading up the machine with compute intensive background tasks and then looking at the graphics performance. Moving windows around slows down. Again not as badly as WinNT since under the same circumstances move a WinNT desktop item is like swimming in glue.

If it really bugs your guru, he might try the kernel preempt patch from http://www.tech9.net/rml/linux/

Colin
 
(pini) writes:

Hi
We use mainly SUN solaris. Lately we have bought a few linux machines. Here are the performance results on a small test:
The results are (in minutes) : SUN64bits- 19:56
SUN32bits- 28:08
linux - 46:30

the conclusions are : 1 : 1.65 : 2.33

Could you post the specs (CPU type, clock frequency, amount of physical memory.) and price for your compared systems please?

Petter
 
Performance of event simulation is more dependent on the memory subsystem than the CPU. This may explain some unexpected results.
 
Colin Marquardt wrote:

If it really bugs your guru, he might try the kernel preempt patch from http://www.tech9.net/rml/linux/

Colin

http://www.uwsg.iu.edu/hypermail/linux/kernel/0201.0/0810.html

...actually, it looks like a new scheduler's probably coming soon.

-t
 
(Steven Sharp) wrote:
Performance of event simulation is more dependent on the memory subsystem than the CPU. This may explain some unexpected results.

Any word on when the Summit chipset will be available for P4/Itanium? Or has it already been released?

-t
 
Your name writes:

> We recently added a dual-Pentium3 box to our compute environment.

Even though most of the SUN's that I've used in the past are mostly dual or quad CPU systems. All the PC's (Intel and AMD) that I've purchased lately for simulation have been single CPU. Dual CPU PC's are not that much cheaper (if cheaper) than two single CPU machines.

If you're running two separate Verilog jobs, why not use two machines?

That would be the logical thing to do. A dual-CPU machiine (vs two single-CPU machines) is slightly easier to manage. Several people can login into a dual-CPU machine and use the system interactively. Well actually, as long as no more than 2 people run jobs at the same time, each person will see full performance.

With two single-CPU machines, each user would have to manually find an unoccupied machine, then submit his/her simulation to that CPU.

I suppose the next step is to setup an intelligent script that auto- load balances, but for us it would be more straightforward to use a dual_CPU machine.
 
Performance of event simulation is more dependent on the memory subsystem than the CPU. This may explain some unexpected results.

I don't suppose you could release some performance #s from your own internal testing? At least other people could get a rough idea what to expect with the various supported platforms (solaris, linux, etc.)
 
Asks writes:

> Your name writes:
>
> > We recently added a dual-Pentium3 box to our compute environment.
>
> Even though most of the SUN's that I've used in the past are mostly
> dual or quad CPU systems. All the PC's (Intel and AMD) that I've
> purchased lately for simulation have been single CPU. Dual CPU PC's
> are not that much cheaper (if cheaper) than two single CPU machines.
>
> If you're running two separate Verilog jobs, why not use two machines?

That would be the logical thing to do. A dual-CPU machiine (vs two ...

There are lots of software packages like this available, both free and commercial. LSF from http://www.platform.com is one. It's quite common to have simulation farms with a front end node where jobs are submitted.

Petter
 
Asks writes:

I suppose the next step is to setup an intelligent script that auto- load balances, but for us it would be more straightforward to use a dual_CPU machine.

I'd be interested if anybody has used stuff like

http://www.mosix.org/
http://supercluster.org/projects/silver/

for EDA work, e.g. as a replacement for Platform's LSF.

Cheers,
Colin
 
I suppose the next step is to setup an intelligent script that auto- load balances, but for us it would be more straightforward to use a dual_CPU machine.

I remember running such a script on a SPARC IPC single processor a long time ago. The script would not find any processor with enough performance to run the simulation. Was a good motivation to get an UltraSPARC :-)
 
Asks wrote:
I don't suppose you could release some performance #s from your own internal testing? At least other people could get a rough idea what to expect with the various supported platforms (solaris, linux, etc.)

I'm afraid I don't have those numbers. I would be reluctant to release them without official authorization even if I did.

I do know that the ratio of performance between solaris and linux machines is not what the CPU clock ratios might lead some to expect. Also, the performance ratio varies significantly with the testcase, perhaps by as much as a factor of 2 or 3. I suspect this is largely due to differences in cache sizes between the machines, with different testcases having different cache requirements.

I understand that there is someone investigating these performance differences in NC-Sim. They may be inherent in the platforms, or they may indicate areas where we could improve performance by changing the software.
 
(Steven Sharp) wrote:
Asks wrote:
I do know that the ratio of performance between solaris and linux machines is not what the CPU clock ratios might lead some to expect. Also, the performance ratio varies significantly with the testcase, perhaps by as much as a factor of 2 or 3. I suspect this is largely due to differences in cache sizes between the machines, with different testcases having different cache requirements.

I have found that with 2Meg Cache PIII Xeons we always had a speed advantage running Linux over various Solaris on Ultrasparc combinations for our simulation examples, but as has already been noted, the Solaris boxes usually scale better when running multiple simulations per cpu.

Cheers, Pad.
 
Status
Not open for further replies.

Latest threads

Back
Top