[Simh] VAX: CPU Usage and Network Timeout

Aaron Walsh walsham at jmusa.com
Wed Jun 8 21:59:11 EDT 2005


I did pay for the whole CPU, but I also want the CPU to last without
overheating ;)  My understanding is that nice and renice only control
the priority of the process.  But if nothing else is running on the box
I get the feeling that nice wont stop SIMH from using the whole
processor.  Overall, I am not too concerned with the CPU usage, I am
more concerned with the network drop outs I am seeing.  I did some more
research by pinging both the linux ip address and the emulated vax ip
address from a remote machine.  While the linux IP address always
responds back within 1-5 milliseconds the emulated ip takes longer. 
Which I am still okay with.  The main problem is that every minute (and
I mean on the minute, for example at 8:30.02, 8:31.02, 8:32.02, etc) for
one to three seconds the emulated IP doesnt reply to any ping or any
other network communication.  I have tried all kinds of variations of
tcpdump to see if I can track down what the issue might be, but I have
had no luck.

Has anyone else see this, or have any ideas how I can track it down.

Thanks
Aaron

>>> Tim Newsham <newsham at lava.net> 6/8/2005 4:12:14 PM >>>
> 2)CPU usage is about 100% on the Linux box.  I have searched google
and
> found that is to be expected.  I tried using the code below in the
> sim_console.c file but regardless of the value of timeout.tv_usec is
> used the emulated VAX was VERY slow.
[...]
> Anyone else have any ways to have simh use less CPU?

Why would you want your machine to use less than 100% of its cpu?
I mean, you paid for the whole cpu, might as well use it.  If
you're concerned about other processes getting more share of
the cpu, see the nice(1) and renice(p) man pages.

> Aaron

Tim Newsham
http://www.lava.net/~newsham/


This message has been scanned for viruses by MailControl - www.mailcontrol.com



More information about the Simh mailing list