Re: Verifying module

Previous thread: FPGA registers userspace interface? by Kfir Lavi on Monday, January 3, 2011 - 5:47 am. (7 messages)

Next thread: small ata driver enhancement project for someone by Greg Freemyer on Monday, January 3, 2011 - 12:21 pm. (2 messages)
From: Mag Gam
Date: Monday, January 3, 2011 - 6:06 am

We are planning to deploy a system for a client. I was told that
leaving unnecessary modules (ie. jfs, usb, etc...) will not cause
latencies in the kernel however the client is very sensitive.  They
care about latencies in microseconds and I was wondering if leaving
unnecessary modules loaded would cause it and how can I measure the
kernel latency (with lmbench if possible) w/o necessary modules.

TIA

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
From: Mulyadi Santosa
Date: Monday, January 3, 2011 - 1:06 pm

Hi...



if you just "leave" them, it wouldn't add any overhead IMHO. Only if
it is loaded. For that, you could either blacklist them or
better....deselect them during kernel config. Whichever suits you
better

PS: If you're really sensitive, perhaps you could make all of your
modules build into the kernel image...therefore there won't be any

what latency are we talking here? scheduling latency?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
From: Mag Gam
Date: Monday, January 3, 2011 - 8:15 pm

I am talking about scheduling latency and more important  network latency

On Mon, Jan 3, 2011 at 3:06 PM, Mulyadi Santosa

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
From: Mulyadi Santosa
Date: Monday, January 3, 2011 - 10:03 pm

Hi..


Please don't do top posting....

About measuring latency, I think you can use lmbench along with ftrace
(check http://lxr.linux.no/linux+*/Documentation/trace/events.txt for
the details). Uhm and I think you could probably use the new "perf"
tool, which is bundled in vanilla kernel tarball.

Network latency? Perhaps you can check this article "Benchmarking
network  performance with Network Pipemeter, LMbench, and nuttcp"
(http://www.linux.com/archive/feature/144532)

All in all, the things that might affect the latency stuffs IMHO are:
all tracing related functionality, traffic filtering/shaping, security
modules. even if they were indeed loaded, I think the overhead might
be negligible if you use them carefully and properly.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Previous thread: FPGA registers userspace interface? by Kfir Lavi on Monday, January 3, 2011 - 5:47 am. (7 messages)

Next thread: small ata driver enhancement project for someone by Greg Freemyer on Monday, January 3, 2011 - 12:21 pm. (2 messages)