buffer starvation when recording DVDs
hi there, my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a maximum speed of 16x. however at speeds of more than ~12x the burner's buffer get's filled only ~20%. probably that's why the burner's speed get's reduced by `growisofs` (to prevent buffer starvation?). how can this happen? the iso i am using lies on my HDD which is quite fast (connected via SATA 2.0). this is the output of `camcontrol devlist -v`: scbus0 on ahcich0 bus 0: at scbus0 target -1 lun -1 () scbus1 on ahcich1 bus 0: at scbus1 target -1 lun -1 () scbus2 on ata2 bus 0: HL-DT-ST DVDRAM GSA-H10N JL12at scbus2 target 0 lun 0 (cd0,pass0) at scbus2 target -1 lun -1 () scbus3 on ahcich2 bus 0: SAMSUNG SP2504C VT100-50 at scbus3 target 0 lun 0 (ada0,pass1) at scbus3 target -1 lun -1 () scbus4 on ahcich3 bus 0: at scbus4 target -1 lun -1 () scbus5 on ahcich4 bus 0: at scbus5 target -1 lun -1 () scbus6 on ahcich5 bus 0: at scbus6 target -1 lun -1 () scbus7 on ahcich6 bus 0: at scbus7 target -1 lun -1 () scbus8 on ahcich7 bus 0: at scbus8 target -1 lun -1 () scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) as you can see cd0 and ada0 don't share the same cable (cd0 is PATA, ada0 is SATA). the PATA and SATA controllers are: atapci0: JMicron JMB363 UDMA133 controller port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f irq 16 at device 0.1 on pci3 ahci0: JMicron JMB363 AHCI SATA controller mem 0xf800-0xf8001fff irq 19 at device 0.0 on pci3 this is the output of `growisofs`: Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0' /dev/pass0: Current Write Speed is 16.4x1352KBps. 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU 2.9% 1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0% 19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0% 52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU 99.9% UBU 100.0% 86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0% 121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU 97.1% 156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU 99.9% UBU 97.1% 191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0% 228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0% 264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0% 298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0% 336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0% 374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0% 413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU 99.9% UBU 100.0% 452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0% 492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU 97.1% 533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU 97.1% 574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU 99.7% UBU 100.0% 61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU 99.9% UBU 97.1% 658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU 94.1% 701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU 97.1% 744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU 99.9% UBU 97.1% 788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU 97.1% 833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU 97.1% 878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU 97.1% 923762688/4695924736 (19.7%) @9.9x, remaining 7:37 RBU 100.0% UBU 97.1% 969932800/4695924736 (20.7%) @10.0x, remaining 7:25 RBU 100.0% UBU 97.1% 1011908608/4695924736 (21.5%) @9.1x, remaining 7:13 RBU 100.0% UBU 97.1% 1059094528/4695924736 (22.6%) @10.2x, remaining 6:58 RBU 100.0% UBU 97.1% 1106903040/4695924736 (23.6%) @10.4x, remaining 6:48 RBU 100.0% UBU 97.1% 1155203072/4695924736 (24.6%) @10.5x, remaining 6:35 RBU 100.0% UBU 97.1% 1204092928/4695924736 (25.6%) @10.6x, remaining 6:22 RBU 99.9% UBU 97.1% 1253507072/4695924736 (26.7%) @10.7x, remaining 6:13 RBU 100.0% UBU 97.1%
Re: buffer starvation when recording DVDs
2010/7/14 Alexander Best alexbes...@uni-muenster.de: hi there, my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a maximum speed of 16x. however at speeds of more than ~12x the burner's buffer get's filled only ~20%. probably that's why the burner's speed get's reduced by `growisofs` (to prevent buffer starvation?). how can this happen? the iso i am using lies on my HDD which is quite fast (connected via SATA 2.0). this is the output of `camcontrol devlist -v`: scbus0 on ahcich0 bus 0: at scbus0 target -1 lun -1 () scbus1 on ahcich1 bus 0: at scbus1 target -1 lun -1 () scbus2 on ata2 bus 0: HL-DT-ST DVDRAM GSA-H10N JL12 at scbus2 target 0 lun 0 (cd0,pass0) at scbus2 target -1 lun -1 () scbus3 on ahcich2 bus 0: SAMSUNG SP2504C VT100-50 at scbus3 target 0 lun 0 (ada0,pass1) at scbus3 target -1 lun -1 () scbus4 on ahcich3 bus 0: at scbus4 target -1 lun -1 () scbus5 on ahcich4 bus 0: at scbus5 target -1 lun -1 () scbus6 on ahcich5 bus 0: at scbus6 target -1 lun -1 () scbus7 on ahcich6 bus 0: at scbus7 target -1 lun -1 () scbus8 on ahcich7 bus 0: at scbus8 target -1 lun -1 () scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) as you can see cd0 and ada0 don't share the same cable (cd0 is PATA, ada0 is SATA). the PATA and SATA controllers are: atapci0: JMicron JMB363 UDMA133 controller port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f irq 16 at device 0.1 on pci3 ahci0: JMicron JMB363 AHCI SATA controller mem 0xf800-0xf8001fff irq 19 at device 0.0 on pci3 sorry for the wrong information. just realized my HDD is connected to the intel controller! this is the output of `growisofs`: Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0' /dev/pass0: Current Write Speed is 16.4x1352KBps. 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU 2.9% 1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0% 19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0% 52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU 99.9% UBU 100.0% 86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0% 121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU 97.1% 156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU 99.9% UBU 97.1% 191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0% 228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0% 264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0% 298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0% 336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0% 374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0% 413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU 99.9% UBU 100.0% 452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0% 492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU 97.1% 533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU 97.1% 574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU 99.7% UBU 100.0% 61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU 99.9% UBU 97.1% 658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU 94.1% 701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU 97.1% 744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU 99.9% UBU 97.1% 788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU 97.1% 833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU 97.1% 878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU 97.1% 923762688/4695924736 (19.7%) @9.9x, remaining 7:37 RBU 100.0% UBU 97.1% 969932800/4695924736 (20.7%) @10.0x, remaining 7:25 RBU 100.0% UBU 97.1% 1011908608/4695924736 (21.5%) @9.1x, remaining 7:13 RBU 100.0% UBU 97.1% 1059094528/4695924736 (22.6%) @10.2x, remaining 6:58 RBU 100.0% UBU 97.1% 1106903040/4695924736 (23.6%) @10.4x, remaining 6:48 RBU 100.0% UBU 97.1% 1155203072/4695924736 (24.6%) @10.5x,
Re: buffer starvation when recording DVDs
On Wed, Jul 14, 2010 at 12:46 PM, Alexander Best alexbes...@uni-muenster.de wrote: 2010/7/14 Alexander Best alexbes...@uni-muenster.de: hi there, my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a maximum speed of 16x. however at speeds of more than ~12x the burner's buffer get's filled only ~20%. probably that's why the burner's speed get's reduced by `growisofs` (to prevent buffer starvation?). how can this happen? the iso i am using lies on my HDD which is quite fast (connected via SATA 2.0). this is the output of `camcontrol devlist -v`: scbus0 on ahcich0 bus 0: at scbus0 target -1 lun -1 () scbus1 on ahcich1 bus 0: at scbus1 target -1 lun -1 () scbus2 on ata2 bus 0: HL-DT-ST DVDRAM GSA-H10N JL12 at scbus2 target 0 lun 0 (cd0,pass0) at scbus2 target -1 lun -1 () scbus3 on ahcich2 bus 0: SAMSUNG SP2504C VT100-50 at scbus3 target 0 lun 0 (ada0,pass1) at scbus3 target -1 lun -1 () scbus4 on ahcich3 bus 0: at scbus4 target -1 lun -1 () scbus5 on ahcich4 bus 0: at scbus5 target -1 lun -1 () scbus6 on ahcich5 bus 0: at scbus6 target -1 lun -1 () scbus7 on ahcich6 bus 0: at scbus7 target -1 lun -1 () scbus8 on ahcich7 bus 0: at scbus8 target -1 lun -1 () scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) as you can see cd0 and ada0 don't share the same cable (cd0 is PATA, ada0 is SATA). the PATA and SATA controllers are: atapci0: JMicron JMB363 UDMA133 controller port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f irq 16 at device 0.1 on pci3 ahci0: JMicron JMB363 AHCI SATA controller mem 0xf800-0xf8001fff irq 19 at device 0.0 on pci3 sorry for the wrong information. just realized my HDD is connected to the intel controller! this is the output of `growisofs`: Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0' /dev/pass0: Current Write Speed is 16.4x1352KBps. 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU 2.9% 1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0% 19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0% 52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU 99.9% UBU 100.0% 86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0% 121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU 97.1% 156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU 99.9% UBU 97.1% 191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0% 228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0% 264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0% 298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0% 336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0% 374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0% 413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU 99.9% UBU 100.0% 452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0% 492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU 97.1% 533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU 97.1% 574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU 99.7% UBU 100.0% 61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU 99.9% UBU 97.1% 658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU 94.1% 701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU 97.1% 744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU 99.9% UBU 97.1% 788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU 97.1% 833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU 97.1% 878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU 97.1% 923762688/4695924736 (19.7%) @9.9x, remaining 7:37 RBU 100.0% UBU 97.1% 969932800/4695924736 (20.7%) @10.0x, remaining 7:25 RBU 100.0% UBU 97.1% 1011908608/4695924736 (21.5%) @9.1x, remaining 7:13 RBU 100.0% UBU 97.1% 1059094528/4695924736 (22.6%) @10.2x, remaining 6:58 RBU 100.0% UBU 97.1% 1106903040/4695924736 (23.6%)
Re: buffer starvation when recording DVDs
2010/7/14 Paul B Mahol one...@gmail.com: On Wed, Jul 14, 2010 at 12:46 PM, Alexander Best alexbes...@uni-muenster.de wrote: 2010/7/14 Alexander Best alexbes...@uni-muenster.de: hi there, my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a maximum speed of 16x. however at speeds of more than ~12x the burner's buffer get's filled only ~20%. probably that's why the burner's speed get's reduced by `growisofs` (to prevent buffer starvation?). how can this happen? the iso i am using lies on my HDD which is quite fast (connected via SATA 2.0). this is the output of `camcontrol devlist -v`: scbus0 on ahcich0 bus 0: at scbus0 target -1 lun -1 () scbus1 on ahcich1 bus 0: at scbus1 target -1 lun -1 () scbus2 on ata2 bus 0: HL-DT-ST DVDRAM GSA-H10N JL12 at scbus2 target 0 lun 0 (cd0,pass0) at scbus2 target -1 lun -1 () scbus3 on ahcich2 bus 0: SAMSUNG SP2504C VT100-50 at scbus3 target 0 lun 0 (ada0,pass1) at scbus3 target -1 lun -1 () scbus4 on ahcich3 bus 0: at scbus4 target -1 lun -1 () scbus5 on ahcich4 bus 0: at scbus5 target -1 lun -1 () scbus6 on ahcich5 bus 0: at scbus6 target -1 lun -1 () scbus7 on ahcich6 bus 0: at scbus7 target -1 lun -1 () scbus8 on ahcich7 bus 0: at scbus8 target -1 lun -1 () scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) as you can see cd0 and ada0 don't share the same cable (cd0 is PATA, ada0 is SATA). the PATA and SATA controllers are: atapci0: JMicron JMB363 UDMA133 controller port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f irq 16 at device 0.1 on pci3 ahci0: JMicron JMB363 AHCI SATA controller mem 0xf800-0xf8001fff irq 19 at device 0.0 on pci3 sorry for the wrong information. just realized my HDD is connected to the intel controller! this is the output of `growisofs`: Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0' /dev/pass0: Current Write Speed is 16.4x1352KBps. 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU 2.9% 1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0% 19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0% 52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU 99.9% UBU 100.0% 86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0% 121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU 97.1% 156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU 99.9% UBU 97.1% 191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0% 228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0% 264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0% 298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0% 336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0% 374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0% 413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU 99.9% UBU 100.0% 452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0% 492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU 97.1% 533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU 97.1% 574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU 99.7% UBU 100.0% 61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU 99.9% UBU 97.1% 658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU 94.1% 701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU 97.1% 744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU 99.9% UBU 97.1% 788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU 97.1% 833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU 97.1% 878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU 97.1% 923762688/4695924736 (19.7%) @9.9x, remaining 7:37 RBU 100.0% UBU 97.1% 969932800/4695924736 (20.7%) @10.0x, remaining 7:25 RBU 100.0% UBU 97.1% 1011908608/4695924736 (21.5%) @9.1x, remaining 7:13 RBU 100.0% UBU 97.1% 1059094528/4695924736 (22.6%) @10.2x, remaining 6:58 RBU 100.0% UBU
Re: buffer starvation when recording DVDs
2010/7/14 Paul B Mahol one...@gmail.com: On 7/14/10, Alexander Best alexbes...@uni-muenster.de wrote: 2010/7/14 Paul B Mahol one...@gmail.com: On Wed, Jul 14, 2010 at 1:25 PM, Alexander Best alexbes...@uni-muenster.de wrote: 2010/7/14 Paul B Mahol one...@gmail.com: On Wed, Jul 14, 2010 at 12:46 PM, Alexander Best alexbes...@uni-muenster.de wrote: 2010/7/14 Alexander Best alexbes...@uni-muenster.de: hi there, my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a maximum speed of 16x. however at speeds of more than ~12x the burner's buffer get's filled only ~20%. probably that's why the burner's speed get's reduced by `growisofs` (to prevent buffer starvation?). how can this happen? the iso i am using lies on my HDD which is quite fast (connected via SATA 2.0). this is the output of `camcontrol devlist -v`: scbus0 on ahcich0 bus 0: at scbus0 target -1 lun -1 () scbus1 on ahcich1 bus 0: at scbus1 target -1 lun -1 () scbus2 on ata2 bus 0: HL-DT-ST DVDRAM GSA-H10N JL12 at scbus2 target 0 lun 0 (cd0,pass0) at scbus2 target -1 lun -1 () scbus3 on ahcich2 bus 0: SAMSUNG SP2504C VT100-50 at scbus3 target 0 lun 0 (ada0,pass1) at scbus3 target -1 lun -1 () scbus4 on ahcich3 bus 0: at scbus4 target -1 lun -1 () scbus5 on ahcich4 bus 0: at scbus5 target -1 lun -1 () scbus6 on ahcich5 bus 0: at scbus6 target -1 lun -1 () scbus7 on ahcich6 bus 0: at scbus7 target -1 lun -1 () scbus8 on ahcich7 bus 0: at scbus8 target -1 lun -1 () scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) as you can see cd0 and ada0 don't share the same cable (cd0 is PATA, ada0 is SATA). the PATA and SATA controllers are: atapci0: JMicron JMB363 UDMA133 controller port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f irq 16 at device 0.1 on pci3 ahci0: JMicron JMB363 AHCI SATA controller mem 0xf800-0xf8001fff irq 19 at device 0.0 on pci3 sorry for the wrong information. just realized my HDD is connected to the intel controller! this is the output of `growisofs`: Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0' /dev/pass0: Current Write Speed is 16.4x1352KBps. 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU 2.9% 1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0% 19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0% 52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU 99.9% UBU 100.0% 86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0% 121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU 97.1% 156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU 99.9% UBU 97.1% 191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0% 228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0% 264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0% 298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0% 336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0% 374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0% 413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU 99.9% UBU 100.0% 452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0% 492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU 97.1% 533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU 97.1% 574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU 99.7% UBU 100.0% 61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU 99.9% UBU 97.1% 658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU 94.1% 701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU 97.1% 744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU 99.9% UBU 97.1% 788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU 97.1% 833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU 97.1% 878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU 97.1% 923762688/4695924736 (19.7%) @9.9x,
Re: buffer starvation when recording DVDs
2010/7/14 Alexander Best alexbes...@uni-muenster.de: 2010/7/14 Paul B Mahol one...@gmail.com: On 7/14/10, Alexander Best alexbes...@uni-muenster.de wrote: 2010/7/14 Paul B Mahol one...@gmail.com: On Wed, Jul 14, 2010 at 1:25 PM, Alexander Best alexbes...@uni-muenster.de wrote: 2010/7/14 Paul B Mahol one...@gmail.com: On Wed, Jul 14, 2010 at 12:46 PM, Alexander Best alexbes...@uni-muenster.de wrote: 2010/7/14 Alexander Best alexbes...@uni-muenster.de: hi there, my dvdr drive supports recording DVDs (both DVD-Rs and DVD+Rs) at a maximum speed of 16x. however at speeds of more than ~12x the burner's buffer get's filled only ~20%. probably that's why the burner's speed get's reduced by `growisofs` (to prevent buffer starvation?). how can this happen? the iso i am using lies on my HDD which is quite fast (connected via SATA 2.0). this is the output of `camcontrol devlist -v`: scbus0 on ahcich0 bus 0: at scbus0 target -1 lun -1 () scbus1 on ahcich1 bus 0: at scbus1 target -1 lun -1 () scbus2 on ata2 bus 0: HL-DT-ST DVDRAM GSA-H10N JL12 at scbus2 target 0 lun 0 (cd0,pass0) at scbus2 target -1 lun -1 () scbus3 on ahcich2 bus 0: SAMSUNG SP2504C VT100-50 at scbus3 target 0 lun 0 (ada0,pass1) at scbus3 target -1 lun -1 () scbus4 on ahcich3 bus 0: at scbus4 target -1 lun -1 () scbus5 on ahcich4 bus 0: at scbus5 target -1 lun -1 () scbus6 on ahcich5 bus 0: at scbus6 target -1 lun -1 () scbus7 on ahcich6 bus 0: at scbus7 target -1 lun -1 () scbus8 on ahcich7 bus 0: at scbus8 target -1 lun -1 () scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) as you can see cd0 and ada0 don't share the same cable (cd0 is PATA, ada0 is SATA). the PATA and SATA controllers are: atapci0: JMicron JMB363 UDMA133 controller port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f irq 16 at device 0.1 on pci3 ahci0: JMicron JMB363 AHCI SATA controller mem 0xf800-0xf8001fff irq 19 at device 0.0 on pci3 sorry for the wrong information. just realized my HDD is connected to the intel controller! this is the output of `growisofs`: Executing 'builtin_dd if=new.iso of=/dev/pass0 obs=32k seek=0' /dev/pass0: Current Write Speed is 16.4x1352KBps. 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4695924736 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 1114112/4695924736 ( 0.0%) @0.2x, remaining 2036:44 RBU 100.0% UBU 2.9% 1114112/4695924736 ( 0.0%) @0.0x, remaining 2247:26 RBU 100.0% UBU 100.0% 19365888/4695924736 ( 0.4%) @4.0x, remaining 144:53 RBU 100.0% UBU 100.0% 52789248/4695924736 ( 1.1%) @7.2x, remaining 57:10 RBU 99.9% UBU 100.0% 86736896/4695924736 ( 1.8%) @7.4x, remaining 37:11 RBU 100.0% UBU 100.0% 121241600/4695924736 ( 2.6%) @7.5x, remaining 28:55 RBU 100.0% UBU 97.1% 156336128/4695924736 ( 3.3%) @7.6x, remaining 23:42 RBU 99.9% UBU 97.1% 191954944/4695924736 ( 4.1%) @7.7x, remaining 20:20 RBU 100.0% UBU 100.0% 228130816/4695924736 ( 4.9%) @7.8x, remaining 18:16 RBU 100.0% UBU 100.0% 264863744/4695924736 ( 5.6%) @8.0x, remaining 16:27 RBU 100.0% UBU 100.0% 298352640/4695924736 ( 6.4%) @7.3x, remaining 15:13 RBU 100.0% UBU 100.0% 336134144/4695924736 ( 7.2%) @8.2x, remaining 14:16 RBU 100.0% UBU 100.0% 374505472/4695924736 ( 8.0%) @8.3x, remaining 13:16 RBU 100.0% UBU 100.0% 413401088/4695924736 ( 8.8%) @8.4x, remaining 12:25 RBU 99.9% UBU 100.0% 452886528/4695924736 ( 9.6%) @8.6x, remaining 11:52 RBU 100.0% UBU 100.0% 492896256/4695924736 (10.5%) @8.7x, remaining 11:13 RBU 100.0% UBU 97.1% 533495808/4695924736 (11.4%) @8.8x, remaining 10:39 RBU 100.0% UBU 97.1% 574619648/4695924736 (12.2%) @8.9x, remaining 10:16 RBU 99.7% UBU 100.0% 61612/4695924736 (13.1%) @9.0x, remaining 9:49 RBU 99.9% UBU 97.1% 658538496/4695924736 (14.0%) @9.1x, remaining 9:24 RBU 100.0% UBU 94.1% 701366272/4695924736 (14.9%) @9.3x, remaining 9:06 RBU 100.0% UBU 97.1% 744751104/4695924736 (15.9%) @9.4x, remaining 8:45 RBU 99.9% UBU 97.1% 788660224/4695924736 (16.8%) @9.5x, remaining 8:25 RBU 100.0% UBU 97.1% 833159168/4695924736 (17.7%) @9.6x, remaining 8:11 RBU 100.0% UBU 97.1% 878182400/4695924736 (18.7%) @9.8x, remaining 7:53 RBU 100.0% UBU