software interruption
- From: "Rafael C. Almeida" <rafaelc@xxxxxxxxxxx>
- Date: Fri, 14 Mar 2008 21:08:41 -0300
Hello,
I'm trying to figure out what kind of situation would make the software
interruption to take a good portion of CPU time. I can see "si" on top
output, but I can never manage to get it higher than 0.3% or so. I even
wrote a code like this:
L1: movl $400, %eax
int $0x80
jmp L1
My goal was to call an invalid system call in order to spend the most
time on software interrupt. Originally I had the C code
int main(void) { while(1) syscall(400); }
but then I addapted into that assembly code. I really can't figure out
a way to make that number to get higher. How can I get near to 100%si?
And, if that's not possible, what's the use of having it on top?
[]'s
Rafael
.
- Follow-Ups:
- Re: software interruption
- From: David Schwartz
- Re: software interruption
- Prev by Date: Re: Dynamic linking with LD_PRELOAD - get it compiled
- Next by Date: Re: software interruption
- Previous by thread: excessive swap-in time
- Next by thread: Re: software interruption
- Index(es):
Relevant Pages
|