summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-02-18 23:58:34 +0000
committerdlg <dlg@openbsd.org>2015-02-18 23:58:34 +0000
commit9ce6bcd2c79bb7f8a945b35afb4850403233aa78 (patch)
tree0a9f8f986f1ffca156152c88590ddd20273d6070 /usr.sbin/syslogd
parentimprove ship placement interface. per the instructions, 2468 should work, (diff)
downloadwireguard-openbsd-9ce6bcd2c79bb7f8a945b35afb4850403233aa78.tar.xz
wireguard-openbsd-9ce6bcd2c79bb7f8a945b35afb4850403233aa78.zip
myri employees and their drivers for linux and solaris have repeatedly
told me that if you're going to rx into buffers greater than 4k in size, they have to be aligned to a 4k boundary. the mru of this chip is 9k, but ive been using the 12k mcl pool to provide the alignment. however, if we move to putting 8 items on a pool page there'll be enough slack space in the mcl12k pool pages to allow item colouring, which in turn will break the chip requirement above. in practice the chips i have seem to work fine with unaligned buffers, but i dont want to risk breaking early revision chips. this moves myx to using a private pool for allocating clusters for the big rx ring. the item size is 9k, but we specify a 4k alignment so every item we get out of it will be correct for the chip.
Diffstat (limited to 'usr.sbin/syslogd')
0 files changed, 0 insertions, 0 deletions