LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: " J.A. Magallón " <jamagallon@ono.com>
Cc: "Linux-Kernel, " <linux-kernel@vger.kernel.org>,
	linux-ide@vger.kernel.org
Subject: Re: Again... DMA speed too slow
Date: Wed, 2 Apr 2008 00:16:40 -0700	[thread overview]
Message-ID: <20080402001640.41c103a7.akpm@linux-foundation.org> (raw)
In-Reply-To: <20080330235357.20a54963@werewolf>

On Sun, 30 Mar 2008 23:53:57 +0200 "J.A. Magallón" <jamagallon@ono.com> wrote:

> Hi all...
> 
> I have tried to burn some data from the commandline with wodim (since time
> ago I just used beasero...), and I have noticed this (media is CD, not DVD):
> 
> Vendor_info    : 'HL-DT-ST'
> Identification : 'DVDRAM GSA-H10N '
> Revision       : 'JL12'
> Device seems to be: Generic mmc2 DVD-R/DVD-RW.
> Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
> Driver flags   : MMC-3 SWABAUDIO BURNFREE
> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
> Speed set to 8467 KB/s
> wodim: DMA speed too slow (OK for 5x). Cannot write at speed 48x.
> Starting to write CD/DVD at speed  48.0 in real TAO mode for single session.
> 
> I just can burn CDs at 5x ??
> But then the program tries to write at 48x.
> It the DMA message really true ?
> 
> Accodring to wodim -prcap:
> 
>   Maximum read  speed: 22161 kB/s (CD 125x, DVD 16x)
>   Current read  speed: 22161 kB/s (CD 125x, DVD 16x)
>   Maximum write speed: 11080 kB/s (CD  62x, DVD  8x)
>   Current write speed: 11080 kB/s (CD  62x, DVD  8x)
>   Rotational control selected: CLV/PCAV
>   Buffer size in KB: 2048
>   Copy management revision supported: 1
>   Number of supported write speeds: 3
>   Write speed # 0: 11080 kB/s CLV/PCAV (CD  62x, DVD  8x)
>   Write speed # 1:  5540 kB/s CLV/PCAV (CD  31x, DVD  4x)
>   Write speed # 2:  3324 kB/s CLV/PCAV (CD  18x, DVD  2x)
> 
> Why the tests in wodim say that DMA to the drive is slow ?
> 
> Kernel is 2.6.24.4.
> The drive is controlled by libata+sata_promise:
> 
> sata_promise 0000:03:04.0: version 2.11
> ACPI: PCI Interrupt 0000:03:04.0[A] -> GSI 23 (level, low) -> IRQ 17
> scsi6 : sata_promise
> scsi7 : sata_promise
> scsi8 : sata_promise
> ata5: SATA max UDMA/133 mmio m4096@0xf6029000 port 0xf6029200 irq 17
> ata6: SATA max UDMA/133 mmio m4096@0xf6029000 port 0xf6029280 irq 17
> ata7: PATA max UDMA/133 mmio m4096@0xf6029000 port 0xf6029300 irq 17
> ata5: SATA link down (SStatus 0 SControl 300)
> ata6: SATA link down (SStatus 0 SControl 0)
> ata7.00: ATA-6: ST3120022A, 3.06, max UDMA/100
> ata7.00: 234441648 sectors, multi 0: LBA48
> ata7.01: ATAPI: HL-DT-ST DVDRAM GSA-H10N, JL12, max UDMA/33
> ata7.00: configured for UDMA/100
> ata7.01: configured for UDMA/33
> scsi 8:0:0:0: Direct-Access     ATA      ST3120022A       3.06 PQ: 0 ANSI: 5
> sd 8:0:0:0: [sdd] 234441648 512-byte hardware sectors (120034 MB)
> sd 8:0:0:0: [sdd] Write Protect is off
> sd 8:0:0:0: [sdd] Mode Sense: 00 3a 00 00
> sd 8:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> sd 8:0:0:0: [sdd] 234441648 512-byte hardware sectors (120034 MB)
> sd 8:0:0:0: [sdd] Write Protect is off
> sd 8:0:0:0: [sdd] Mode Sense: 00 3a 00 00
> sd 8:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
>  sdd: sdd1
> sd 8:0:0:0: [sdd] Attached SCSI disk
> sd 8:0:0:0: Attached scsi generic sg3 type 0
> scsi 8:0:1:0: CD-ROM            HL-DT-ST DVDRAM GSA-H10N  JL12 PQ: 0 ANSI: 5
> sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
> 
> UDMA/33 on the burner should be ok for 48x (150x48 = 7.2 MB/s) ?
> Or just 16x, as I read elsewhere ?
> 

Please always cc linux-ide on ata-related bug reports.


  reply	other threads:[~2008-04-02  7:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-30 21:53 J.A. Magallón
2008-04-02  7:16 ` Andrew Morton [this message]
2008-04-13  2:23   ` Tejun Heo
     [not found] <fa.kS8AgwgGnOORqOO36Liq2hSrgfI@ifi.uio.no>
2008-03-31  0:59 ` Robert Hancock
2008-04-14 16:54 Joerg Schilling
2008-04-14 16:56 ` Alan Cox
2008-04-14 17:19   ` Joerg Schilling
2008-04-14 17:29     ` Alan Cox
2008-04-14 17:44       ` Alan
2008-04-14 18:28         ` Joerg Schilling
2008-04-14 18:21       ` Joerg Schilling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080402001640.41c103a7.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=jamagallon@ono.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Again... DMA speed too slow' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).