Commit Graph

17 Commits

Author SHA1 Message Date
Srivats P.
e188655e67 For Linux added specific code to put interfaces in PROMISC mode, since we no longer use PCAP to do stats (which was indirectly setting PROMISC). Also added signal handlers to do cleanup for SIGTERM and SIGINT. Some code indentation fixes also.
Fixes issue 52
2011-10-22 14:55:05 +05:30
Srivats P.
264b446410 Replaced ULONG_LONG_MAX with the more portable (and standard) ULLONG_MAX 2011-10-21 22:11:38 +05:30
Srivats P.
e5d2ccaa0f Fixed windows problem where tx packets are looped back as rx packets also. Also fixed an issue with transmit at slow rate (< 0.5pps)
Fixes issue 46
2011-10-20 07:13:33 +05:30
Srivats P.
626ca8ad0e Code changes to improve transmit performance in Windows. Windows top-speed performance is now at par with Linux in my tests, however for fixed (high) rate transmit, accuracy is not good - need to find ways to improve that.
Fixes issue 33
Fixes issue 39
2011-10-16 08:04:09 +05:30
Srivats P.
e9ea3d7934 Added a minimum size of packets to be looped to improve performance. Also a bug fix that led to incorrect timing between packets 2011-10-12 20:20:36 +05:30
Srivats P.
210bdf11a9 Implemented new method protocolFrameVariableCount() and associated code for all the protocols that require it. With this commit, the set of changes required to reduce the time taken to prebuild the packets for transmit is done.
Fixes issue 35
Fixes issue 49
2011-10-09 17:57:02 +05:30
Srivats P.
0223f39994 refactored sendQueue code 2011-10-08 15:55:57 +05:30
Srivats P.
204e6efc2a Refactored send queue data structure and associated processing 2011-10-01 12:28:28 +05:30
Srivats P.
18e7b9b49c Snapshot before refactoring the send queue data structure 2011-09-26 20:47:27 +05:30
Srivats P.
ca7a264b36 Implemented Interleaved streams transmit mode. Changed port rate averaging algo.
Fixes issue 12
2011-08-31 18:16:42 +05:30
Srivats P.
ca4a6cb103 Implemented aggregate port rates, averaged across all active streams configured on the port.
Fixes issue 41
2011-08-14 14:03:57 +05:30
Srivats P.
b3bc9e36a7 Inter-packet and Inter-burst gaps are now calculated in nanosecond rather than milliseconds. However, the actual delay is still in milliseconds for all OS as of now.
Fixes issue 30
2011-07-18 19:22:32 +05:30
Srivats P.
670920afa6 Enable inter-packet gap to be more than one second
Fixes issue 42
2011-07-09 20:40:42 +05:30
Srivats P.
d2c4bf0834 Fixed packet rate accuracy when inter-packet (or inter-burst) gap had resolution less than a millisecond. 2011-07-07 21:43:12 +05:30
Srivats P.
aae32eb510 Fixed burst mode timing problem by taking into account overhead 2011-06-26 10:33:06 +05:30
Srivats P.
955be71082 Changes to improve pps performance for Linux. Changed implementation of stats collection for Linux - pps/Bps stats are now supported
Fixes Issue 26
2011-06-19 16:26:35 +05:30
Srivats P.
e0efac0f59 Removed the test code building from top level project file. Test code needs to be built manually 2011-04-17 10:51:08 +05:30