CPU usage

Michael Brömer mib at telebel.de
Thu Aug 22 12:55:31 PDT 2002


Am Donnerstag, 22. August 2002 14:44 schrieben Sie:

> I like to use both ide-scsi and normal ATAPI too, since cd-ripping takes
> up lots of kernel processing when used with ide-scsi. With just ide, it
> takes 2-4%, with scsi, it likes to take as much as 60-70%. Don't know
> why but it's pretty annoying. I only load ide-scsi when I need to burn
> a cd, for everything else ide is much better. Too bad this is hard to
> automatize.

I can not confirm the CPU usage figures you have when using 
ide-scsi to rip ad CD-ROM. I only use SCSI emulation for my
CDRW and DVD drives and i have 2-5% CPU usage while
ripping.

time cdda2wav -d 0 -D /dev/sg0 -t 1
Type: ROM, Vendor 'LITE-ON ' Model 'LTR-24102B 
724992 bytes buffer memory requested, 4 buffers, 75 sectors
#Cdda2wav version 1.11a23_linux_2.4.20-pre4_i686_authenticamd, real time 
sched., soundcard, libparanoia support
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1-12           no              no     audio    2
Table of Contents: total tracks:12, (total time 53:50.60)
  1.( 4:33.45),  2.( 3:22.68),  3.( 4:28.37),  4.( 4:23.65),  5.( 3:48.68)
  6.( 6:46.22),  7.( 3:39.70),  8.( 3:51.48),  9.( 5:56.30), 10.( 3:17.15)
 11.( 3:26.27), 12.( 6:13.15),

Table of Contents: starting sectors
  1.(       0),  2.(   20520),  3.(   35738),  4.(   55875),  5.(   75665)
  6.(   92833),  7.(  123305),  8.(  139800),  9.(  157173), 10.(  183903)
 11.(  198693), 12.(  214170), lead-out(  242160)
CDINDEX discid: eWrWSTdIuUCI95ca00chZOSFHug-
CDDB discid: 0xb10c9c0c
CD-Text: not detected
CD-Extra: not detected
W Duration is not set for complete tracks (option -d), this disables 
generation
  of info files!
samplefile size will be 48263084 bytes.
recording 273.6000 seconds stereo with 16 bits @ 44100.0 Hz ->'audio'...
percent_done:
100%  track  1 successfully recorded
0.04user 1.29system 0:28.90elapsed 4%CPU ...

The track had a length of 4m33s, so the actual
ripping speed is about 9.4X when using my
CDRW to rip.

Michael
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list