[Wine] Wine + serial port basically hangs system

Dan Armbrust daniel.armbrust.list at gmail.com
Mon May 8 09:05:52 CDT 2006


> 
> Ok, I guess that you only pasted the first lines. 

Yep.

> What is a little
> confusing is your high load. Not only do wineserver and Heavy Weather
> eat up all of the CPU, there also are some 20 other apps competing for
> it. Either the first two are hogging the CPU so much that everything else
> has to wait, 

Yep.  Nothing else of consequence is running on the machine, it's 
basically idle.


> What is the output of 'setserial -a /dev/ttyS0'?

(with HeavyWeather running)

  setserial -a /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
         Baud_base: 115200, close_delay: 50, divisor: 0
         closing_wait: 3000
         Flags: spd_normal skip_test auto_irq


Later last night, I discovered that if I launch the app with a 'nice' 
level of 19, the rest of the machine at least stays running.  The app 
itself is a little sluggish, but it mostly works.

The load average ends up looking like this when I have it set to the 
lowest priority (again, the machine would be basically idle, if it 
weren't for this weather app.



top - 08:59:21 up 14:00,  5 users,  load average: 2.92, 2.56, 2.15
Tasks: 120 total,   3 running, 117 sleeping,   0 stopped,   0 zombie
Cpu(s): 11.7% us, 27.9% sy, 31.9% ni, 28.3% id,  0.0% wa,  0.2% hi,  0.0% si
Mem:    256064k total,   208800k used,    47264k free,     8468k buffers
Swap:   522104k total,   181620k used,   340484k free,    52832k cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  3912 vortex    35  19 1570m 6032 3640 R 39.5  2.4 210:29.82 heavy 
weather.e
  6743 root      15   0 96340  15m 1664 S 17.1  6.3 110:00.10 X
  3915 vortex    34  19 79740  23m  688 R  8.7  9.4  65:26.10 wineserver
  6948 vortex    15   0 42248 2216 1324 S  2.0  0.9  15:57.29 artsd
  5143 root      18   0  9540 2744 1772 S  1.0  1.1   3:24.98 perl
  6976 vortex    15   0 35276 1520 1316 S  0.6  0.6   2:59.93 xmms
<snip>


Its very possible that this app could just be very poorly written... I 
haven't been real impressed with it.  But if there is anything else I 
can do to make it run better, that would be great.

Thanks,

Dan




More information about the wine-users mailing list