Re: Performance problem with 16x audio burns in Linux

2002-04-04 Thread Chris Lawrence

/me figures this is pointless, but...

On Mar 12, Joerg Schilling wrote:
 From: Chris Lawrence [EMAIL PROTECTED]
 
 On Mar 12, Joerg Schilling wrote:
  From: Chris Lawrence [EMAIL PROTECTED]
  j
  
  Try increasing the fifo size to 16m or so (-fs=16m).  You may also
  want to see if you can find a firmware upgrade for the CD-R drive.
  
  Also running cdrecord at nice --19 (i.e., -19, not +19) or so will
  help.  You have to do that as root, though.
  
  YOu can avoid to give wring advice when you read the cdreecord 
  man page before sending mail
 
 Hey, it works for me.  His (and your) mileage may vary.  (He mentioned
 in his email that DMA was enabled, so clearly your advice was no better...)
 
 (And for the record, your man page says to use al least nice --18 on
 systems that don't have UNIX International compliant realtime
 scheduling.  I haven't read POSIX.4 or this UNIX International spec
 lately so I can't say if Linux 2.4.1X has it.)
 
 Sorry, but this is rubbish!
 
 READ THE MAN page..
 
 cdrecord by default runs with much much higher pri than -19.

From man cdrecord for version 1.10:

...
   On SVr4 compliant systems, cdrecord uses the the real time
   class to get the highest scheduling priority that is  pos
   sible (higher than all kernel processes).  On systems with
   POSIX  real  time  scheduling  cdrecord  uses  real   time
   scheduling  too,  but  may  not be able to gain a priority
   that is higher than all kernel processes.
...
   nice --18 mkisofs -R /master/tree

   on  systems  that  don't have UNIX International compliant
   realtime scheduling.

   Cdrecord runs at priority 59 on Solaris,  you  should  run
   mkisofs at no more than priority 58. On other systems, you
   should run mkisofs at no less than nice --18.
...

Now, the man page may have been revised for 1.11aX, but that's what it
says on 1.10.


Chris
-- 
Chris Lawrence [EMAIL PROTECTED] - http://www.lordsutch.com/chris/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Performance problem with 16x audio burns in Linux

2002-04-04 Thread Anssi Saari

On Thu, Apr 04, 2002 at 12:17:47PM -0600, Chris Lawrence wrote:
 /me figures this is pointless, but...

Just in case anyone cares, I finally got around to installing FreeBSD,
atapicam patch and all. I don't have the performance problem I have in
Linux in FreeBSD.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Performance problem with 16x audio burns in Linux

2002-03-12 Thread Joerg Schilling

From: Anssi Saari [EMAIL PROTECTED]

I have a performance problem writing audio discs at 16x in Linux. Cdrecord
1.11a17 can just barely keep its fifo filled during the burn, mostly. Data
burns are not a problem, 12x audio burns are also not a problem, or
it seems I have barely enough horsepower to manage that, but burning
from mp3s with on the fly decoding again has performance problems. Same
problem happens when burning video-CDs with cdrdao 1.1.5, 12x fine, 16x
problems. Top doesn't show any application taking very much CPU.

So you did not enable DMA.

You cannot write faster then 12x without DMA.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix
 
 FOKUS at CeBIT Hall 11, A14 - BerliOS at CeBIT Hall 11 D11 (Future Market)
 
 Meet me at CeBIT in Hall 11 D11 on the BerliOS booth - www.berlios.de


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Performance problem with 16x audio burns in Linux

2002-03-12 Thread Joerg Schilling

From: Chris Lawrence [EMAIL PROTECTED]
j

Try increasing the fifo size to 16m or so (-fs=16m).  You may also
want to see if you can find a firmware upgrade for the CD-R drive.

Also running cdrecord at nice --19 (i.e., -19, not +19) or so will
help.  You have to do that as root, though.

YOu can avoid to give wring advice when you read the cdreecord 
man page before sending mail


Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix
 
 FOKUS at CeBIT Hall 11, A14 - BerliOS at CeBIT Hall 11 D11 (Future Market)
 
 Meet me at CeBIT in Hall 11 D11 on the BerliOS booth - www.berlios.de


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Performance problem with 16x audio burns in Linux

2002-03-12 Thread Chris Lawrence

On Mar 12, Joerg Schilling wrote:
 From: Chris Lawrence [EMAIL PROTECTED]
 j
 
 Try increasing the fifo size to 16m or so (-fs=16m).  You may also
 want to see if you can find a firmware upgrade for the CD-R drive.
 
 Also running cdrecord at nice --19 (i.e., -19, not +19) or so will
 help.  You have to do that as root, though.
 
 YOu can avoid to give wring advice when you read the cdreecord 
 man page before sending mail

Hey, it works for me.  His (and your) mileage may vary.  (He mentioned
in his email that DMA was enabled, so clearly your advice was no better...)

(And for the record, your man page says to use al least nice --18 on
systems that don't have UNIX International compliant realtime
scheduling.  I haven't read POSIX.4 or this UNIX International spec
lately so I can't say if Linux 2.4.1X has it.)

Oh, I did typo the fs argument, as there's no dash.  Mea maxima culpa.


Chris
-- 
Chris Lawrence [EMAIL PROTECTED] - http://www.lordsutch.com/chris/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Performance problem with 16x audio burns in Linux

2002-03-12 Thread Joerg Schilling

From: Chris Lawrence [EMAIL PROTECTED]

On Mar 12, Joerg Schilling wrote:
 From: Chris Lawrence [EMAIL PROTECTED]
 j
 
 Try increasing the fifo size to 16m or so (-fs=16m).  You may also
 want to see if you can find a firmware upgrade for the CD-R drive.
 
 Also running cdrecord at nice --19 (i.e., -19, not +19) or so will
 help.  You have to do that as root, though.
 
 YOu can avoid to give wring advice when you read the cdreecord 
 man page before sending mail

Hey, it works for me.  His (and your) mileage may vary.  (He mentioned
in his email that DMA was enabled, so clearly your advice was no better...)

(And for the record, your man page says to use al least nice --18 on
systems that don't have UNIX International compliant realtime
scheduling.  I haven't read POSIX.4 or this UNIX International spec
lately so I can't say if Linux 2.4.1X has it.)

Sorry, but this is rubbish!

READ THE MAN page..


cdrecord by default runs with much much higher pri than -19.



Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix
 
 FOKUS at CeBIT Hall 11, A14 - BerliOS at CeBIT Hall 11 D11 (Future Market)
 
 Meet me at CeBIT in Hall 11 D11 on the BerliOS booth - www.berlios.de


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]