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

feat(acp) enable async IO except for file larger than 10Mb #471

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Apr 4, 2023

Related to jenkins-infra/helpdesk#3481

Added some documentations in comment to help justifying the set of choices:

  • aio is now enabled, allowing unblocking "short lived" connections while bigger files are being read. It's required for enabling directio (see below).
  • directio is set up to ensure bigger file are not read though the OS file caching. It's interesting for big artifacts which are clearly blocking calls.
  • sendfile_max_chunk is set to its default value 2m (as per http://nginx.org/en/docs/http/ngx_http_core_module.html#sendfile_max_chunk)
  • tcp_nodelay is enabled to ensure that packets not "fully filled" (as per tcp_nopush) are sent without delay (unblocking more connections)

@lemeurherve lemeurherve merged commit 633e594 into main Apr 4, 2023
@lemeurherve lemeurherve deleted the dduportal-patch-1 branch April 4, 2023 08:51
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

Successfully merging this pull request may close these issues.

2 participants