Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9pserve: msize not optimal #645

Open
vestein463 opened this issue Mar 1, 2024 · 0 comments
Open

9pserve: msize not optimal #645

vestein463 opened this issue Mar 1, 2024 · 0 comments

Comments

@vestein463
Copy link

if started without -m option, a message size of 8192 is used. Therefore the default blocksize is 8192-24, which is not a power of 2, leading to overhead in disk sector operations.

The default msize should be changed to 8192+IOHDRSZ = 8216. The man page should adjusted, too, either by change to the program by adding IOHDRSZ to the intended buffer size or explaining that IOHDRSZ should be added to the m value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant