Suresh wrote:
hi,
So in case of uml, if all the interrupts are being handled in the processor 0, hence
softirq and tasklets are going to be handled in processor 0. If this is the case,
then don't you think that smp functionality is lost here. Kindly tell me, is that the case
even in 2.4.20 kernel. In the dairy it was given that it is for 2.5 kernel.
Performance may not be an issue to me, so that I can simulate SMP functionality that
host linux offers.
With UML-SMP, you may have multiple processes running simultaneously. For instance, here is a top from an SMP-UML machine:
3:36pm up 4 min, 4 users, load average: 0.04, 0.02, 0.00 37 processes: 33 sleeping, 4 running, 0 zombie, 0 stopped
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 156 root 14 0 376 376 316 R 14.4 1.2 0:01 md5sum 155 root 11 0 376 376 316 R 12.6 1.2 0:01 md5sum 154 root 13 0 376 376 316 R 12.2 1.2 0:01 md5sum 153 root 10 0 920 920 728 R 0.1 3.1 0:00 top
But from what I understand, the interrupt paths may run only on processor 0 so there is no SMP capability from that point of view. Maybe thinks have changed since I tried. This was with 2.4.24-um1 in tt mode.
However, I don't know if softirq and tasklet may run only on processor 0 as interrupts do. Can't these be schedulled on another processor ?
Cheers,
-- Vincent Guffens PhD Student UCL/CESAME tel: +32 10 47 80 30 Value your freedom, or you will lose it, teaches history. "Don't bother us with politics," respond those who don't want to learn. -- Richard M. Stallman
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user