Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gitaly gitaly
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 564
    • Issues 564
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 58
    • Merge requests 58
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • GitLab.org
  • gitalygitaly
  • Merge requests
  • !3759

Add sendfile(2) support to streamcache

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jacob Vosmaer requested to merge jv-streamcache-sendfile into master Aug 12, 2021
  • Overview 37
  • Commits 2
  • Pipelines 12
  • Changes 6

This will make io.Copy from a streamcache entry into a network socket more efficient. It will not necessarily be faster than a regular io.Copy, but the Gitaly server will spend fewer CPU cycles copying the data.

This is part of gitlab-com/gl-infra/scalability#1217 (closed) and split of from !3758 (merged). Without !3758 (merged), the code in this MR will never be called.

Edited Aug 12, 2021 by Jacob Vosmaer
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: jv-streamcache-sendfile