Du besuchst diese Seite mit einem veralteten IPv4-Internetzugang. Möglicherweise treten in Zukunft Probleme mit der Erreichbarkeit und Performance auf. Bitte frage deinen Internetanbieter oder Netzwerkadministrator nach IPv6-Unterstützung.
You are visiting this site with an outdated IPv4 internet access. You may experience problems with accessibility and performance in the future. Please ask your ISP or network administrator for IPv6 support.
Weitere Infos | More Information
Klicke zum schließen | Click to close
Performance Optimization: Disk Shredding Speed
Summary
Two simple code changes can improve shredding performance by 25-45% without compromising security.
Optimization 1: Increase Chunk Size (+15-25% faster)
Change in
include/shred.hline 20:Why it works:
Results: 1TB HDD shreds in ~120min instead of ~150min
Optimization 2: Direct I/O (+10-20% faster)
Change in
src/shred.cppline 71:Why it works:
Results: ~135 MB/s instead of ~115 MB/s with stable performance
Combined Impact
Implementation
Compatibility Note
Some USB-SATA adapters don't support
O_DIRECT. Add fallback:Testing
Quick benchmark:
Compare before/after shred times on a test drive.