Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
priorytety
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Mon Apr 19, 2004 10:24 pm    Post subject: priorytety Reply with quote

w jaki sposob przydzielic prioryten na np. mplayera, podczas kompilacji czegokolwiek? w mm-sources cos takiego bylo automatycznie, moglem kompilowac programy i ogladac i nic nie zacinalo, teraz mam love-sources i nie da sie ogladac podczas kompilacji..
jest jakis sposob w love-sources?
Back to top
View user's profile Send private message
muchar
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 690
Location: /dev/urandom

PostPosted: Tue Apr 20, 2004 6:28 am    Post subject: Reply with quote

Z tego co mi się wydaje, do ustawiania priorytetów służy polecenie `nice`.
_________________
MuchaR
Nie denerwuj mnie. Kliknij tu!!!
Homepage: http://muchar.one.pl!!!
Back to top
View user's profile Send private message
Xax
Guru
Guru


Joined: 24 Jul 2003
Posts: 417
Location: Poland, Gliwice, Trynek

PostPosted: Tue Apr 20, 2004 6:31 am    Post subject: Reply with quote

probowales polecenia nice ??
nice -20 mplayer
Back to top
View user's profile Send private message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Tue Apr 20, 2004 7:47 am    Post subject: Reply with quote

heh, aha, nie wiedzialem o istnieniu takiego polecenia :P
no ale w mm-sources to bylo jakos domyslnie w kernelu ustawione..

pozdrawiam
Back to top
View user's profile Send private message
zytek
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 233
Location: Poland, Ostrów Wlkp.

PostPosted: Thu Apr 22, 2004 9:36 pm    Post subject: Reply with quote

Chodzi Ci pewnie o opcję preemptibile kernel ?
Coby właśnie system był "żywszy" podczas dużego obciążenia.
Back to top
View user's profile Send private message
fallow
Bodhisattva
Bodhisattva


Joined: 08 Jan 2004
Posts: 2208
Location: Poland

PostPosted: Thu Apr 22, 2004 10:34 pm    Post subject: Reply with quote

priorytety ustala w kernelu sheduler , w love jest patch cfq-sheduler , mnie ostatnio spodobal sie staircase .korzysta ktos moze , jak dla mnie jest swietny , ale widze jakies dziwne zachowanie w jednym odosobnionym przypadku, ogolnie multitasking dziala lepiej i wydajnosc jest wieksza niz w std,deadline i innych ale dziwnie maly priorytet jest przydzielany do aplikacji ktore cos de/kompresuja , cc(x) z gcc otrzymuje np. sensowny priorytet

pozdro :)
_________________
"Time is a companion that goes with us on a journey. It reminds us to cherish each moment, because it will never come again. What we leave behind is not as important as how we have lived" J-L. Picard ;)
Back to top
View user's profile Send private message
muchar
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 690
Location: /dev/urandom

PostPosted: Thu Apr 22, 2004 11:24 pm    Post subject: Reply with quote

Pewnie głupie pytanko. Ale, jak przełączyć taki scheduler?
_________________
MuchaR
Nie denerwuj mnie. Kliknij tu!!!
Homepage: http://muchar.one.pl!!!
Back to top
View user's profile Send private message
zalun
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2004
Posts: 89

PostPosted: Fri Apr 23, 2004 11:22 am    Post subject: Reply with quote

ja troszeczke z innej beczki, ale haczy o temat:

mozna procesowi przydzielic okreslona ilosc pamieci?
w gentoo dosc duzo sie kompiluje - podczas pracy przeszkadza (zwlaszcza w malowaniu w Gimpie) - jakby mu dac np.
nice 10 mem 256MB emerge world
to by szybciej chodzil? (oczywiscie gimp nice 0)
Back to top
View user's profile Send private message
fallow
Bodhisattva
Bodhisattva


Joined: 08 Jan 2004
Posts: 2208
Location: Poland

PostPosted: Fri Apr 23, 2004 12:56 pm    Post subject: Reply with quote

muchar wrote:
Pewnie głupie pytanko. Ale, jak przełączyć taki scheduler?


trzeba po prostu spatchowac kernel latka na odpowiedni sheduler , w niektorych patchsetach jest wybor shedulera i/o np. w evil-sources i mozna wybrac sobie ktore sie chce miec podczas kompilacji . a co do "glownego" - jest kilka wersji evil sources np, z / lub bez staircase sheduler`a . z tego co sie doczytalem to prace nad ulepszeniem staircase beda kontynuowane pod koniec maja :)

pozdro :)
_________________
"Time is a companion that goes with us on a journey. It reminds us to cherish each moment, because it will never come again. What we leave behind is not as important as how we have lived" J-L. Picard ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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