LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-02-2006, 03:44 AM   #1
fakhrul
Member
 
Registered: Mar 2006
Location: Dhaka,Bangladesh
Distribution: Ubuntu 12.10
Posts: 51

Rep: Reputation: 15
Droping packets using poisson and Markov Model


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?
 
Old 05-02-2006, 04:01 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
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.
 
Old 05-03-2006, 09:19 AM   #3
fakhrul
Member
 
Registered: Mar 2006
Location: Dhaka,Bangladesh
Distribution: Ubuntu 12.10
Posts: 51

Original Poster
Rep: Reputation: 15
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
 
Old 05-03-2006, 10:40 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
I'd start with Wikipedia...
http://en.wikipedia.org/wiki/Poisson_process

Any sort of user-level proxy process ought to do the trick.
 
Old 05-08-2006, 03:21 AM   #5
shotwellj
Member
 
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
Perhaps Dummynet ( http://info.iet.unipi.it/~luigi/ip_dummynet/ ) or NIST Net ( http://snad.ncsl.nist.gov/nistnet/ ) would be helpful to you.

Regards,
Jacob
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
stack droping packets (netif_rx) porous Programming 2 04-21-2005 09:16 AM
IP Table help, Droping entire 200 block of ip's? Wide glide Linux - Security 2 12-03-2004 12:39 AM
packets sent VS packets received fsasya Linux - Networking 0 07-18-2004 07:11 PM
encapsulating TCP packets in UDP packets... yoshi95 Programming 3 06-03-2004 02:53 PM
URGENT - Cant boot up. ...droping you to a shell.... ForumKid Linux - General 2 02-02-2002 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration