Re: High CPU usage when copying files to USB mass storage device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2011-07-05 at 22:09 +0200, Reindl Harald wrote:
> Am 05.07.2011 18:14, schrieb Patrick O'Callaghan:
> > Flash drives can become slow because of their internal 
> > architecture, fragmentation, wear leveling etc.
> 
> flash drive and fragmentation?
> jokingly?

No, not joking, though fragmentation is probably the wrong term. What I
meant was that flash drives work in fixed-size units which a) are
usually not the same as the filesystem allocation size, and b) must be
erased before being written on, i.e. writing one byte costs almost the
same as writing a full unit (in fact it could conceivably cost more
because in the one-byte case the rest of the unit has to be read first).
If a file is not aligned with these units then more of them than
necessary will need to be read, erased and rewritten, slowing the
process down. One could probably design a pathological worst case that
takes twice as long as the best case.

poc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux