-   Linux - Newbie (
-   -   mkisofs using only 5% cpu (

clifford227 08-02-2010 06:13 PM

mkisofs using only 5% cpu
Is it normal for mkisofs to use only 5% cpu power? it seems to take an awful long time to create a .iso file. Is there a way to force it to use more?

Tinkster 08-02-2010 06:57 PM

I'd be suspicious of I/O and/or DMA ... what's the HDD, what
does hdparm tell you about bother the DVD and HD drive?

clifford227 08-03-2010 01:38 PM

hdparm -i /dev/hda says:


ATA device, with non-removable media
Model Number: MDT MD2500JB-00REA0
Serial Number: MDT-MCANK8911601
Firmware Revision: 20.00K20
Supported: 7 6 5 4
Likely used: 8
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 488397168
device size with M = 1024*1024: 238475 MBytes
device size with M = 1000*1000: 250059 MBytes (250 GB)
cache/buffer size = 8192 KBytes
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
SET_MAX security extension
Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* SMART error logging
* SMART self-test
Media Card Pass-Through
* General Purpose Logging feature set
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Master password revision code = 65534
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by CSEL
Checksum: correct

hdparm -i /dev/hdc (dvd drive) says:


Model=PHILIPS DVD8421, FwRev=6H01, SerialNo=MYJV57
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5

paulsm4 08-03-2010 09:52 PM

Hi -

Since most of the stuff "mkisofs" does is I/O bound, I generally wouldn't EXPECT it to show high CPU. Granted - sometimes it might (perhaps for reasons that have little or nothing with mkisofs itself).

There are several reasons mkisofs might be slow. For example:

or this:

Here's a patch that might help:

clifford227 08-04-2010 05:09 AM

Thanks Paul :)

All times are GMT -5. The time now is 11:39 AM.