Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to compare the efficiency of Network Stacks of two different operating systems(Linux and Solaris) by measuring the amount of resources(context switches, systemcalls etc) that are consumed in the processing of each packet. I have planned to use systemtap infrastructure to perform the same because it allows dynamic probing of both user and kernel spaces. Can somebody tell me how much feasible it is?

In order to find good results, what I actually should take care of ?

share|improve this question
I'd use "lmbench" (lmbench.sourceforge.net) as a guide. Take a look before doing anything else. – Bruce Ediger Feb 27 '12 at 21:26
What is your definition of "good" results? Assuming you could actually define a measure of efficiency, what would you use it for? Suppose the stacks varied by 5% according to some metric, would that inform a decision? I'm not trying to be difficult, but there are some questions, though answerable, that may not be worth asking. – msw Feb 28 '12 at 3:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.