Ristretto crawls to a halt on USB1.1 file systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ristretto (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I often hook up my camera with a USB cable, and it's USB 1.1. I can browse fine (including thumbnails), and I can copy files over with useful speed ("full speed"). But whenever I start Ristretto on such a file, I have to eventually kill it because it never comes back in time. The access on the camera is on while Ristretto hangs, so presumably it is doing something that causes it to reread the same information unbuffered again and again or doing something else that is very, very inefficient on a file system mounted via USB (reading bytewise and adjusting the access time every time?).
Here is the camera description:
Bus 005 Device 023: ID 054c:0010 Sony Corp. DSC-S30/
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x054c Sony Corp.
idProduct 0x0010 DSC-S30/
bcdDevice 4.50
iManufacturer 1 Sony
iProduct 2 Sony DSC
iSerial 0
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 3
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 255
Device Status: 0x0001
Self Powered
Here is the mount entry:
/dev/sdd1 on /media/
This is a reasonably straightforward amd64 Ubuntustudio installation.
All other basic utilities and operations on that "drive" provided by the camera are reasonably fast and corresponding to what you can expect from "full speed" USB 1.1.
But Ristretto is unusable. It needs to do something differently when reading files: this just doesn't work. I've never seen fit to let it complete but rather killed it after a few minutes.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: ristretto 0.8.2-1
ProcVersionSign
Uname: Linux 4.12.0-
ApportVersion: 2.20.6-0ubuntu7
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Aug 28 10:49:16 2017
InstallationDate: Installed on 2011-10-14 (2144 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111011)
SourcePackage: ristretto
UpgradeStatus: No upgrade log present (probably fresh install)
Is this still the case in 18.04 or 18.10?