Bug 600716 - USB-Flash Drive yum update very slow
Summary: USB-Flash Drive yum update very slow
Keywords:
Status: CLOSED DUPLICATE of bug 529948
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 13
Hardware: All
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-05 18:12 UTC by Alice K
Modified: 2014-01-21 23:15 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-06-07 06:33:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
System Data on smolt, Xorg and dmesg (144.48 KB, application/octet-stream)
2010-06-05 18:12 UTC, Alice K
no flags Details

Description Alice K 2010-06-05 18:12:42 UTC
Created attachment 421472 [details]
System Data on smolt, Xorg and dmesg

Description of problem:
'sudo yum update' to update packages onto the USB-Flash Drive.  Downloading speed of packages were normal.  Update and install each package may take more than 90 seconds.  Cleanup each package may take more than 30 seconds.  A typical update of 50 packages may take more than one and a half hour.



Version-Release number of selected component (if applicable):
Updating packages for Fedora 11, Fedora 12 and Fedora 13 of the installed USB-Flash Drive are all very slow.



How reproducible:
Everytime



Steps to Reproduce:
1.  Boot up Fedora 13 installed on the USB-Flash Drive
2.  sudo yum update
3.
  


Actual results:
The update progress indicator for each package appeared to the very slow and move very slowly.



Expected results:
As for updating packages installed on Hard Disk, the progress indicator was advancing much faster, even for a 80 MB package like the openoffice-core.



Additional info:

Comment 1 James Antill 2010-06-05 21:12:39 UTC
My guess is that the USB flash disk just doesn't like fsync() calls or something. But maybe Panu will be able to give some more advise.

Comment 2 seth vidal 2010-06-05 22:35:05 UTC
If you download a package you need to update and run:


rpm -Uvh somepkg.rpm

is it also slow?

Comment 3 Panu Matilainen 2010-06-07 06:33:49 UTC
Yeah, flash drives seem to hate fdatasync(). Adding "nofsync" option to rpm configuration should help somewhat, eg something like this:

echo "%__dbi_other %{?__dbi_cdb} nofsync" > /etc/rpm/macros.dbi

*** This bug has been marked as a duplicate of bug 529948 ***


Note You need to log in before you can comment on or make changes to this bug.