how to get a better result for context swtich test in linux

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Locked
yangleifage
Posts: 1
Joined: Sun Jun 28, 2009 2:03 am

how to get a better result for context swtich test in linux

Post by yangleifage »

Hi all,

I want to do the context swtich testing for my linux os with lmbench( lat_ctx.c),you know if I run lat_ctx -s 2 2 directly, it may get a bad result for the testing, how to do some setting for my os to get a good result.

I have do some try.

1, boot the os with init=/bin/sh

2. don't use the nfs rootfs boot

Is there other seting for it, do I need to disable some interrupt, what I do.

Thanks
Lei
User avatar
kop99
Member
Member
Posts: 120
Joined: Fri May 15, 2009 2:58 am

Re: how to get a better result for context swtich test in linux

Post by kop99 »

yangleifage, here isn't linux forum.
There are tons of other linux forum. Google for them.
Locked