Page MenuHomeFreeBSD

Increase devd's client socket buffer size
ClosedPublic

Authored by asomers on Dec 9 2015, 5:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 1:47 AM
Unknown Object (File)
Tue, Nov 19, 8:44 PM
Unknown Object (File)
Oct 1 2024, 12:43 AM
Unknown Object (File)
Sep 24 2024, 4:34 PM
Unknown Object (File)
Sep 21 2024, 1:59 PM
Unknown Object (File)
Sep 19 2024, 9:51 AM
Unknown Object (File)
Sep 19 2024, 9:36 AM
Unknown Object (File)
Sep 18 2024, 4:36 AM
Subscribers
None

Details

Summary

Increase devd's client socket buffer size to 256KB. This is not as large as it
looks, because we'll hit the sockbuf's mbuf limit long before hitting its data
limit. A 256KB data limit allows creating a ZFS pool on about 450 drives
without overflowing the client socket buffers.

Test Plan

Run existing ATF tests. Create ZFS pool on more than 250 drives and verify
that devd clients don't get HUPped.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1531
Build 1537: arc lint + arc unit

Event Timeline

asomers retitled this revision from to Increase devd's client socket buffer size.
asomers updated this object.
asomers edited the test plan for this revision. (Show Details)
asomers added a reviewer: imp.
imp edited edge metadata.
This revision is now accepted and ready to land.Dec 9 2015, 6:39 PM
This revision was automatically updated to reflect the committed changes.