Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue Oct 29, 2002 9:03 pm    Post subject: nice Reply with quote

how do i use it. i've tried running xmms w/ nice -n-10 xmms but i still get skips (in fact maybe more than usual.

I also can run " nice -n19 emerge -u world" which does seem to be behiving nicely, but xmms isn't getting highest priority. why is that.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Oct 29, 2002 9:18 pm    Post subject: Reply with quote

What happens if you run xmms/nice at -18?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue Oct 29, 2002 11:54 pm    Post subject: Reply with quote

still gets skips
ex. i'm copying some files from 1 drive to another (At n19) and get awful skips.
Back to top
View user's profile Send private message
MaxX
n00b
n00b


Joined: 25 Sep 2002
Posts: 13

PostPosted: Wed Oct 30, 2002 1:02 pm    Post subject: Reply with quote

does your ide-controller share one of it's IRQs with your soundcard? (or maybe another device like gfx-card)
this looks like you're having some harware troubles, normaly xmms takes an unmeasurable amount of cpu time on a GHz class PC, so this shouldn't be the source for you skips...
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Wed Oct 30, 2002 11:17 pm    Post subject: Reply with quote

ide: 14 15 11
smpci: 10
should be fine

dmesg does list a bunch of
"cmpci: dma timed out??"
errors

is this just from moving files xmms is loking for?
i moved the mp3s to a diff hdd (for orgazination purposes) i wonder if this willl help skips.
Back to top
View user's profile Send private message
zenon
Apprentice
Apprentice


Joined: 09 Oct 2002
Posts: 263

PostPosted: Tue Feb 11, 2003 7:11 am    Post subject: Reply with quote

how do you probe those IDE ID's? (ie:what command) I'm having the same prob.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Feb 11, 2003 7:33 am    Post subject: Reply with quote

cat /proc/interrupts should give you the IRQs.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
krusty_ar
Guru
Guru


Joined: 03 Oct 2002
Posts: 560
Location: Rosario, Argentina

PostPosted: Tue Feb 11, 2003 2:41 pm    Post subject: Reply with quote

usually, if you lose responsiveness whe accesing hdd, it means that you don't have dma enabled for that drive.

to know what modes are supported do:
Code:
hdparm -i /dev/hdX or hdparm -I /dev/hdX


to know how you are set now try:
Code:
hdparm /dev/hdX (hdparm -I /dev/hdX will give some of this info to)

a quick way to go and pretty safe is:
Code:
hdparm d 1 /dev/hdX


as a side note: xmms has an option to run in realtime (or is that arts?, i'm at work so i can't check)
_________________
I am Beta, don't expect correct behaviour from me.
Take part of the adopt an unaswered post initiative
Back to top
View user's profile Send private message
weltraumfahrer
Apprentice
Apprentice


Joined: 17 Dec 2002
Posts: 195
Location: Karlsruhe, Germany

PostPosted: Tue Feb 11, 2003 4:40 pm    Post subject: Reply with quote

Negative nice numbers are only for root!
Nobody want's to run xmms as root!
Try to enable DMA for your Harddisks (Kernel must support your Chipset)

Frank
Back to top
View user's profile Send private message
krusty_ar
Guru
Guru


Joined: 03 Oct 2002
Posts: 560
Location: Rosario, Argentina

PostPosted: Tue Feb 11, 2003 5:05 pm    Post subject: Reply with quote

weltraumfahrer wrote:
Negative nice numbers are only for root!
Nobody want's to run xmms as root!


that's true, but you could do this
_________________
I am Beta, don't expect correct behaviour from me.
Take part of the adopt an unaswered post initiative
Back to top
View user's profile Send private message
zenon
Apprentice
Apprentice


Joined: 09 Oct 2002
Posts: 263

PostPosted: Tue Feb 11, 2003 11:33 pm    Post subject: Reply with quote

I'm using ALSA so arts priority won't help.

do the hard drive parameters have to be done everythime you boot? I've already done them once and they made my drive like 10x faster when I did a speed check.
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Wed Feb 12, 2003 1:42 am    Post subject: Reply with quote

There may be another logical explaination.

You said you were moving mp3s around between hard drives.
I don't suppose the drive you were moving from and the drive you were moving to are
on the same ide channel?
That could very easily do it - IDE is terrible at talking to >1 device per channel, especially at the same time.


~Mac~
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum