Page MenuHomeFreeBSD

siftr: replace alq(9) interface with native I/O code
Needs ReviewPublic

Authored by cc on Tue, Sep 22, 3:49 PM.
Tags
None
Referenced Files
F175879949: D59907.id.diff
Wed, Oct 14, 3:49 AM
F175833385: D59907.id187449.diff
Tue, Oct 13, 6:02 PM
Unknown Object (File)
Sat, Oct 10, 11:38 AM
Unknown Object (File)
Thu, Oct 8, 10:36 AM
Unknown Object (File)
Thu, Oct 8, 10:04 AM
Unknown Object (File)
Thu, Oct 8, 9:30 AM
Unknown Object (File)
Thu, Oct 8, 4:40 AM
Unknown Object (File)
Wed, Oct 7, 9:03 PM

Details

Test Plan

My limited test result is in testD59907, which shows at least +30% performance gain.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 77843
Build 74726: arc lint + arc unit

Event Timeline

cc requested review of this revision.Tue, Sep 22, 3:49 PM
cc added reviewers: tuexen, rscheff.

explain the new field 'num_skipped_pkts_pktpool' in siftr.4 man page

update:

  1. make the Makefile cleaner
  2. use the buf_ring_drops() instead of a local counter
  3. use lockless buf_ring_dequeue_mc()
  4. use powerof2() to check 'RING_SIZE'