Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For my experimental purpose i need to drop packets following poisson probability distribution and Markov Model. But i do not know how to do it. how to map the theory with the packet drop. if it can be done then the essenece of internet packet drop will be found. i will use it to formulate the performance of VoIP in user perspective.
A c kernel module,user level module, using iptables or any other way will work. If you know how to drop either by poisson or markovian that will also be ok. Can anybody help me?
You need to actually drop packets? In the kernel?!
Tell us more about your test-scenario, and what exactly it is that you are testing. It would be far easier to write your test program to randomly (or otherwise) decide to pretend that the packet it has just received was actually dropped, doing the whole thing in user-level code... say in a modified library or a "wrapper" library.
Certainly packet dropping. But that drop have to follow poisson probability distribution. Any level programming or even iptables will work but i need this dropping must follow poisson distribution. right now i donot need to know about markov model.
two persons will talk through microphones of pcs (soundcard is installed) and the two computers are connected through lan. Ip telephony software like openh323 is used. one of the pcs is running in linux.
A third linuxbox may be used for forwarding packets from where we can drop the packets. It will be easier. The forwarding linuxbox is not mandatory. 2 pcs may connect directly. We will drop packets from the linux client.
However the packet dropping fashion must follow the poisson distribution to get the essence of internet packet loss. Itis already established. Then we can measure how the voice quality will be in Internet Telephony
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.