Re: Announcing cdrskin-0.4.4
On Tue, Apr 15, 2008 at 3:51 PM, Thomas Schmitt <scdbackup@gmx.net> wrote:
> i made some changes to the WRITE12 streaming commands.
> With DVD-RAM the last buffer of a write session is
> padded up to its full size.
> With BD-RE the buffer size is set to 64 KiB
Now it works with both DVD-RAM and BD-RE!
md5sums match.
For the BD-RE, i reformatted it with ssa=default
INQUIRY: [HL-DT-ST][BD-RE BE06LU10 ][YE03]
GET [CURRENT] CONFIGURATION:
Mounted Media: 43h, BD-RE
Media ID: LGEBRE/S01
Current Write Speed: 2.0x4495=8992KB/s
Write Speed #0: 2.0x4495=8992KB/s
GET [CURRENT] PERFORMANCE:
Write Performance: 2.0x4495=8992KB/s@[0 -> 11826175]
Speed Descriptor#0: 02/11826175 R@2.0x4495=8992KB/s W@2.0x4495=8992KB/s
BD SPARE AREA INFORMATION:
Spare Area: 393216/393216=100.0% free <========
================= stream on
$ time cdrskin --allow_setuid --allow_untested_media -v -sao -data dev=$cddev dr
iveropts=burnfree padsize=512s stream_recording=on data.iso
cdrskin 0.4.5 : limited cdrecord compatibility wrapper for libburn
cdrskin: verbosity level : 1
cdrskin: NOTE : greying out all drives besides given dev='/dev/sg1'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: beginning to burn disc
cdrskin: status 1 burn_disc_blank "The drive holds a blank disc"
Current: BD-RE
Track 01: data 5259 MB padsize: 1024 KB
Total size: 5260 MB (598:33.37) = 2693353 sectors
Lout start: 5260 MB (598:35/37) = 2693353 sectors
Starting to write CD/DVD at speed MAX in real SAO mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01: 5260 of 5260 MB written (fifo 100%) [buf 100%] 2.4x.
cdrskin: thank you for being patient since 535 seconds
Track 01: Total bytes read/written: 5514938368/5516034048 (2693376 sectors).
Writing time: 535.182s
Cdrskin: fifo had 2692841 puts and 2692841 gets.
Cdrskin: fifo was 0 times empty and 232624 times full, min fill was 99%.
Min drive buffer fill was 16%
cdrskin: burning done
real 8m55.722s
user 0m9.150s
sys 0m34.500s
================= stream off
$ time cdrskin --allow_setuid --allow_untested_media -v -sao -data dev=$cddev dr
iveropts=burnfree padsize=512s data.iso
cdrskin 0.4.5 : limited cdrecord compatibility wrapper for libburn
cdrskin: verbosity level : 1
cdrskin: NOTE : greying out all drives besides given dev='/dev/sg1'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: beginning to burn disc
cdrskin: status 1 burn_disc_blank "The drive holds a blank disc"
Current: BD-RE
Track 01: data 5259 MB padsize: 1024 KB
Total size: 5260 MB (598:33.37) = 2693353 sectors
Lout start: 5260 MB (598:35/37) = 2693353 sectors
Starting to write CD/DVD at speed MAX in real SAO mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01: 5260 of 5260 MB written (fifo 100%) [buf 95%] 1.8x.
cdrskin: thank you for being patient since 1269 seconds
Track 01: Total bytes read/written: 5514938368/5515986944 (2693353 sectors).
Writing time: 1269.126s
Cdrskin: fifo had 2692841 puts and 2692841 gets.
Cdrskin: fifo was 0 times empty and 310341 times full, min fill was 99%.
Min drive buffer fill was 23%
cdrskin: burning done
real 21m9.857s
user 0m9.010s
sys 0m34.030s
================
DVD-RAM with stream on:
Current: DVD-RAM
Track 01: data 100 MB padsize: 1024 KB
Total size: 101 MB (11:33.90) = 51893 sectors
Lout start: 101 MB (11:35/90) = 51893 sectors
Starting to write CD/DVD at speed MAX in real SAO mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01: 101 of 101 MB written (fifo 100%) [buf 100%] 2.1x.
cdrskin: thank you for being patient since 41 seconds
Track 01: Total bytes read/written: 105228288/106299392 (51904 sectors).
Writing time: 41.108s
Cdrskin: fifo had 51381 puts and 51381 gets.
Cdrskin: fifo was 0 times empty and 4945 times full, min fill was 99%.
Min drive buffer fill was 92%
cdrskin: burning done
DVD-RAM with stream off:
Current: DVD-RAM
Track 01: data 100 MB padsize: 1024 KB
Total size: 101 MB (11:33.90) = 51893 sectors
Lout start: 101 MB (11:35/90) = 51893 sectors
Starting to write CD/DVD at speed MAX in real SAO mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01: 101 of 101 MB written (fifo 100%) [buf 100%] 1.0x.
cdrskin: thank you for being patient since 91 seconds
Track 01: Total bytes read/written: 105228288/106276864 (51893 sectors).
Writing time: 91.361s
Cdrskin: fifo had 51381 puts and 51381 gets.
Cdrskin: fifo was 0 times empty and 8295 times full, min fill was 99%.
Min drive buffer fill was 69%
cdrskin: burning done
================================
So, basically, using streaming i/o will compensate "for free" (I mean
you get exactly the same result on disc as not using streaming) the
slow down caused by defect management?
Thanks
--
giulioo@pobox.com
Reply to: