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)
Jan 14 2024, 10:01 PM
Unknown Object (File)
Dec 20 2023, 1:58 AM
Unknown Object (File)
Dec 16 2023, 1:22 PM
Unknown Object (File)
Nov 13 2023, 4:37 PM
Unknown Object (File)
Nov 9 2023, 4:47 PM
Unknown Object (File)
Nov 6 2023, 9:00 AM
Unknown Object (File)
Nov 4 2023, 11:17 PM
Unknown Object (File)
Oct 8 2023, 3:40 PM
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 Not Applicable
Unit
Tests Not Applicable

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.