dynamips icon indicating copy to clipboard operation
dynamips copied to clipboard

packet transmission rate is limited

Open flaviojs opened this issue 11 years ago • 2 comments

Packet transmission is limited because:

  1. it's done in the ptask thread (default wait time is 10 ms)
  2. each time a packet transmission task is run, only a limited number of packets is sent (the rest waits for the next run)

Links:

http://forum.gns3.net/topic10476.html

flaviojs avatar Jun 15 '14 15:06 flaviojs

I understand you fixed (well patched, it still has issues with pps) the displayed issue by bumping up the effective "tx ring" size to 16 instead of 1 in the specific driver affected, but this model of operation itself will present pathology in a few network designs and features (low protocol timers, bfd, ntp, jitter simulation (this basically creates jitter by design), etc). Would it be possible to make this more realtime as opposed to the current 10ms cycle sleep based queue processing?

ikiris avatar Jun 29 '14 19:06 ikiris

My intention is to make the emulated behavior closer to the real thing. The fact that it's sharing the single ptask thread is enough to break that. =~~ So far I know some chips send on command, while others do memory polling and others depend on the configuration. I want to read the datasheet of each relevant hardware chip and emulate what they do.

flaviojs avatar Jul 04 '14 01:07 flaviojs