From: Sheridan Hutchinson on 2 Sep 2009 14:22 david wrote: > I'm using Ubuntu 9.04..as per my orig post. Excellent, hdparm is available in the repositories. Plenty of information out there about how it works. > It's the same PC that has win xp and ubuntu installed. > Are you saying it may not be set up in Ubuntu but is in XP? > If so I'll have a look. Indeed that is precisely likely to be the issue. XP sets up DMA access for IDE CD and DVD ROM drives automatically in most cases, however in Ubuntu and Debian you need to configure the hdparm boot script to do this for you. That is however of course unless your ROM drive is SATA, which is configured automatically by the kernel for best performance. > However I am not so certain that's the (only) reason as surely you can't > just dismiss the fact that different apps may take longer to do their job. I probably can dismiss that as a CD ripper only has two fundamental jobs: a.) Digitally read data from a disc b.) Compress the data into OGG or mp3 Given that remit, all CD rippers are all the same; there is pretty much no difference in extraction speed and compression between applications, especially as the same Vorbis codec library will be used by all apps that produce ogg's, and typically most cd-rippers use the LAME codec library to produce mp3's. So to summarise, all rippers tend to use the same compression library's and the read speed of discs is limited to individual disc drives, hence there is little to no difference in performance between cd ripping apps. -- Regards, Sheridan Hutchinson sheridan(a)shezza.org
From: david on 2 Sep 2009 14:30 On Wed, 02 Sep 2009 19:22:17 +0100, Sheridan Hutchinson wrote: > david wrote: >> I'm using Ubuntu 9.04..as per my orig post. > > Excellent, hdparm is available in the repositories. Plenty of > information out there about how it works. > >> It's the same PC that has win xp and ubuntu installed. Are you saying >> it may not be set up in Ubuntu but is in XP? If so I'll have a look. > > Indeed that is precisely likely to be the issue. XP sets up DMA access > for IDE CD and DVD ROM drives automatically in most cases, however in > Ubuntu and Debian you need to configure the hdparm boot script to do > this for you. > > That is however of course unless your ROM drive is SATA, which is > configured automatically by the kernel for best performance. > >> However I am not so certain that's the (only) reason as surely you >> can't just dismiss the fact that different apps may take longer to do >> their job. > > I probably can dismiss that as a CD ripper only has two fundamental > jobs: a.) Digitally read data from a disc > b.) Compress the data into OGG or mp3 > > Given that remit, all CD rippers are all the same; there is pretty much > no difference in extraction speed and compression between applications, > especially as the same Vorbis codec library will be used by all apps > that produce ogg's, and typically most cd-rippers use the LAME codec > library to produce mp3's. > > So to summarise, all rippers tend to use the same compression library's > and the read speed of discs is limited to individual disc drives, hence > there is little to no difference in performance between cd ripping apps. Thanks Sheridan, That seems entirely logical. So following your advise I checked on hdparm and did a "sudo hdparm -d1 /dev/sda " only to get "david(a)microdirect:~$ sudo hdparm -d1 /dev/sda /dev/sda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Inappropriate ioctl for device HDIO_GET_DMA failed: Inappropriate ioctl for device " Not sure what that means. It is a PATA not SATA HDD but I believe Ubuntu's kernel still requires sda not hda. Which didn't work anyway. Any further pointers gratefully received. Dave
From: Geoff Clements on 2 Sep 2009 14:53 david wrote: > Have ubuntu 9.04 installed and wanted to rip approx 200 CDs to MP3. > > Any recommendations what to use that's fast, not CLI ie has a GUI, and > produces decent quality files. > > I couldn't find Sound Juicer (google search recommended) in the repos and > just tried using K3b which took 15 minutes to rip to ogg whereas, dare I > say it, I can do this in XP in about 4 mins (same CD). > > Really prefer to use Linux but it needs to be fast. > > Thanks I've found Audex quite nice but it is a KDE application though. -- Geoff
From: davesurrey on 2 Sep 2009 14:57 "Geoff Clements" <bitbucket(a)electron.me.uk> wrote in message news:h7mevq$h2k$1(a)news.eternal-september.org... > david wrote: > >> Have ubuntu 9.04 installed and wanted to rip approx 200 CDs to MP3. >> >> Any recommendations what to use that's fast, not CLI ie has a GUI, and >> produces decent quality files. >> >> I couldn't find Sound Juicer (google search recommended) in the repos and >> just tried using K3b which took 15 minutes to rip to ogg whereas, dare I >> say it, I can do this in XP in about 4 mins (same CD). >> >> Really prefer to use Linux but it needs to be fast. >> >> Thanks > > I've found Audex quite nice but it is a KDE application though. > > -- > Geoff > Thanks Geoff. I'll add it to the lsit to try. Does it come with a Geoff-recommendation over other apps? Cheers Dave
From: Sheridan Hutchinson on 2 Sep 2009 15:27
david wrote: > So following your advise I checked on hdparm and did a > > "sudo hdparm -d1 /dev/sda " > > only to get > > "david(a)microdirect:~$ sudo hdparm -d1 /dev/sda > > /dev/sda: > setting using_dma to 1 (on) > HDIO_SET_DMA failed: Inappropriate ioctl for device > HDIO_GET_DMA failed: Inappropriate ioctl for device " > > Not sure what that means. You've probably got both PATA hard disk drive and CD-ROM. You can (and should) configure them both, but sticking to the CD-ROM for the moment. Put a disc in the drive, wait for everything to settle and then in a console use the 'mount' command so you know the mount point of your disc drive. Your most likely place for ROM disc drives to be deviced are /dev/hdc or /dev/sdc, not very likely to be /dev/sda Once you've found it do (where sdc is your particular device point) sudo hdparm -tT /dev/sdc That will do a nice little benchmark for your baseline. You can also do: sudo hdparm /dev/sdc to find out what current settings are enabled by default. sudo hdparm -d1 /dev/sdc For DMA. Re-run benchmark, check for improvement in transfer speeds. Once happy with everything you can edit /etc/hdparm.conf to make the changes permanent. Then try again with K3b and see how much impact it's had. -- Regards, Sheridan Hutchinson sheridan(a)shezza.org |