Kernel preemption

mats.lindberg at se.transport.bombardier.com mats.lindberg at se.transport.bombardier.com
Tue Feb 15 10:27:11 GMT 2005


I've compiled the kernel with 
options PREEMTION

I've tried rtprio
I've tried sched_setscheduler(...scheduler=FIFO, priority=31...);
Swapping is turned off.

I still get 250ms pausing in the tcp comm. Maybe it is the stack?! Is it 
losing frames perhaps? Any good ideas what to look for - someone.

Regarding the HZ - My application never uses the cpu  for more than 1ms or 
so before it blocks. So that should not be tha case.
There are not many other processes and I have none of them running at an 
elevated priority/scheduler scheme.


_______________________________________________________________________________________________________________ 

This e-mail communication (and any attachment/s) may contain confidential 
or privileged information and is intended only for the individual(s) or 
entity named above and to others who have been specifically authorized to 
receive it. If you are not the intended recipient, please do not read, 
copy, use or disclose the contents of this communication to others. Please 
notify the sender that you have received this e-mail in error by reply 
e-mail, and delete the e-mail subsequently. 
Thank you. 
_________________________________________________________________________________________________________________ 


Ce message (ainsi que le(s) fichier/s), transmis par courriel, peut 
contenir des renseignements confidentiels ou protégés et est destiné à 
l?usage exclusif du destinataire ci-dessus. Toute autre personne est par 
les présentes avisée qu?il est strictement interdit de le diffuser, le 
distribuer ou le reproduire. Si vous l?avez reçu par inadvertance, 
veuillez nous en aviser et détruire ce message. 
Merci. 
_________________________________________________________________________________________________________________ 




_______________________________________________________________________________________________________________ 

This e-mail communication (and any attachment/s) may contain confidential 
or privileged information and is intended only for the individual(s) or 
entity named above and to others who have been specifically authorized to 
receive it. If you are not the intended recipient, please do not read, 
copy, use or disclose the contents of this communication to others. Please 
notify the sender that you have received this e-mail in error by reply 
e-mail, and delete the e-mail subsequently. 
Thank you. 
_________________________________________________________________________________________________________________ 


Ce message (ainsi que le(s) fichier/s), transmis par courriel, peut 
contenir des renseignements confidentiels ou protégés et est destiné à 
l?usage exclusif du destinataire ci-dessus. Toute autre personne est par 
les présentes avisée qu?il est strictement interdit de le diffuser, le 
distribuer ou le reproduire. Si vous l?avez reçu par inadvertance, 
veuillez nous en aviser et détruire ce message. 
Merci. 
_________________________________________________________________________________________________________________ 




More information about the freebsd-questions mailing list