Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #4848

Closed (moved)
(moved)
Open
Created Jan 06, 2012 by Trac@tracbot

Prealloc disk space for descriptors files

When I defrag my hard disk in Windows (NTFS filesystem) I usually see that the file cached-descriptors.new is in several hundred fragments on the disk. This while running a relay.

This can't be good for performance. I suggest preallocating the file of cached-descriptors.new, possibly using the size of cached-descriptors + 5% as a guide to the initial size of the newer file.

Those of who still have spinning media will thank you.

Trac:
Username: tmpname0901

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking