Optimize queues and scheduling with a ring based implementation. Ring 
operations are not atomic and  behind locks. Scheduler throughput improves in 
L2fwd test about 30%. Buffer header gets smaller and not related to burst size, 
which has positive impact to direct mode pktio throughput also.
2x10GE (Mpps)
            | direct |                  | atomic | 
cpus | before | after | speed up | before | after | speed up
1    | 19.4   | 19.8  | 1.02     | 13.1   | 15.0  | 1.14
2    | 29.7   | 29.7  | 1.00     | 16.9   | 21.5  | 1.27
4    |                           | 24.7   | 28.7  | 1.16


2x40GE
         | direct |                | atomic |
cpus | before| after | speed up | before | after | speed up
1    | 0.182 | 0.186 | 1.02     | 0.12   | 0.148 | 1.23
2    | 0.367 | 0.37  | 1.01     | 0.16   | 0.205 | 1.28
4    | 0.597 | 0.596 | 1.00     | 0.241  | 0.314 | 1.30
6    | 0.571 | 0.571 | 1.00     | 0.295  | 0.386 | 1.31
8    | 0.556 | 0.556 | 1.00     | 0.356  | 0.498 | 1.40

----------------github------------------------
/** Email created from pull request 492 (psavol:master-sched-optim)
 ** https://github.com/Linaro/odp/pull/492
 ** Patch: https://github.com/Linaro/odp/pull/492.patch
 ** Base sha: f5e12df388352b27f09787028a0040afb28564f4
 ** Merge commit sha: 56e6340663c8679516a24dc81df13a53488b86b8
 **/
----------------/github------------------------

----------------checkpatch.pl------------------------
total: 0 errors, 0 warnings, 0 checks, 116 lines checked


to_send-p-000.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 0 checks, 120 lines checked


to_send-p-001.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 0 checks, 42 lines checked


to_send-p-002.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 0 checks, 71 lines checked


to_send-p-003.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 0 checks, 99 lines checked


to_send-p-004.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 0 checks, 441 lines checked


to_send-p-005.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 0 checks, 8 lines checked


to_send-p-006.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 0 checks, 229 lines checked


to_send-p-007.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 0 checks, 368 lines checked


to_send-p-008.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 0 checks, 89 lines checked


to_send-p-009.patch has no obvious style problems and is ready for submission.
----------------/checkpatch.pl------------------------

Reply via email to