DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Making KIO copy many files fast

Quality: 8/10 Relevance: 9/10

Summary

A KDE Frameworks blog post detailing why copying many small files with KIO was slow and how it was improved. It explains moving KIO workers in-process using a thread, replacing socket IPC with in-memory transport, and introducing batch-copy to reduce per-file overhead. Benchmark results show dramatic improvements, bringing small-file copies close to cp speeds on a 5000-file test, with caveats for non-local filesystems.

🚀 Service construit par Johan Denoyer