Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strana latenza nel sistema da un po' di tempo a questa parte
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
lordalbert
l33t
l33t


Joined: 26 Nov 2006
Posts: 840
Location: Italy

PostPosted: Thu Feb 28, 2008 2:46 pm    Post subject: Reply with quote

bah.. ci sono troppe cose strane...
allora, i gentoo-sources hanno latenza quando utilizzo boinc (la cui priorità è bassa)....
questo problema non si verifica (parlo della mia esperienza, magari capita solo a me...) con i vanilla-sources... però con quest'ultimo kernel quando uso emerge il sistema diventa inusabile, non riesco neanche a spostare il mouse... si blocca tutto... (e il processore lavora al max per il 50%, con 500MB di swap usata)
Back to top
View user's profile Send private message
richard77
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 281

PostPosted: Thu Feb 28, 2008 8:23 pm    Post subject: Reply with quote

lordalbert wrote:
bah.. ci sono troppe cose strane...
allora, i gentoo-sources hanno latenza quando utilizzo boinc (la cui priorità è bassa)....
questo problema non si verifica (parlo della mia esperienza, magari capita solo a me...) con i vanilla-sources... però con quest'ultimo kernel quando uso emerge il sistema diventa inusabile, non riesco neanche a spostare il mouse... si blocca tutto... (e il processore lavora al max per il 50%, con 500MB di swap usata)


Con lo stesso config?
Cosa hai impostato su CONFIG_PREEMPT? (prova a postare il risultato di zcat < /proc/config.gz | grep PREEMPT )
_________________
Fletto i muscoli e sono nel vuoto
Back to top
View user's profile Send private message
lordalbert
l33t
l33t


Joined: 26 Nov 2006
Posts: 840
Location: Italy

PostPosted: Thu Feb 28, 2008 8:40 pm    Post subject: Reply with quote

si, con lo stesso config

Code:
 $ zcat < /proc/config.gz | grep PREEMPT
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_BKL=y
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Thu Feb 28, 2008 10:24 pm    Post subject: Reply with quote

Potresti provare ad impostare il sistema a "Low Latency desktop", sotto a Processor...->Preemption model...
Back to top
View user's profile Send private message
lordalbert
l33t
l33t


Joined: 26 Nov 2006
Posts: 840
Location: Italy

PostPosted: Thu Feb 28, 2008 10:29 pm    Post subject: Reply with quote

riverdragon wrote:
Potresti provare ad impostare il sistema a "Low Latency desktop", sotto a Processor...->Preemption model...


immagino che oltre ai pro ci siano dei contro :) ma... quali sarebbero?
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Thu Feb 28, 2008 11:38 pm    Post subject: Reply with quote

lordalbert wrote:
questo problema non si verifica (parlo della mia esperienza, magari capita solo a me...) con i vanilla-sources... però con quest'ultimo kernel quando uso emerge il sistema diventa inusabile, non riesco neanche a spostare il mouse... si blocca tutto... (e il processore lavora al max per il 50%, con 500MB di swap usata)


in MAKEOPTS che valori hai messo per "-j" ?
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
lordalbert
l33t
l33t


Joined: 26 Nov 2006
Posts: 840
Location: Italy

PostPosted: Thu Feb 28, 2008 11:44 pm    Post subject: Reply with quote

MAKEOPTS="-j3"
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Fri Feb 29, 2008 11:02 am    Post subject: Reply with quote

lordalbert wrote:
riverdragon wrote:
impostare il sistema a "Low Latency desktop"
immagino che oltre ai pro ci siano dei contro
degrado di prestazioni. la schedulazione è più pesante, il sistema privilegia l'interfaccia utente.
Nel senso che se l'emerge di firefox ti porta via un'ora o un'ora e mezza sotto forte carico, su un sistema normale, su un sistema low latency (impostando anche il timer a 1000 invece che a 100, ovviamente) ci mette un'ora e cinque minuti o tre ore se pretendi anche di usare il tuo sparatutto preferito nel frattempo. Non è una misura precisa, ovviamente, ed è esagerata.
Se poi metti il sistema solo a compilare senza fare altro dovresti perdere almeno tre secondi.

Già che mi trovo "Tickless system" dovrebbe comportare una lieve latenza a lume di naso. Qualcuno ha dati più precisi?
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri Feb 29, 2008 12:54 pm    Post subject: Reply with quote

djinnZ wrote:
Già che mi trovo "Tickless system" dovrebbe comportare una lieve latenza a lume di naso. Qualcuno ha dati più precisi?


no però sarebbe sicuramente interessante a livello generico sapere come funzionano le combinazioni Tickless System, Low-latency e Timer Freq
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Fri Feb 29, 2008 3:35 pm    Post subject: Reply with quote

8O ed io cosa ho detto?
A naso sempre, dico al kernel di schedulare i processi privilegiando le periferiche, gli dico di controllarle continuamente ma gli dico anche di controllarle solo se non ha altro da fare; per me sarebbe contraddittorio.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
mrfree
Veteran
Veteran


Joined: 15 Mar 2003
Posts: 1303
Location: Europe.Italy.Sulmona

PostPosted: Thu May 22, 2008 1:37 pm    Post subject: Reply with quote

Porcaccia la miseriaccia!! Ho scoperto di aver abilitato in tempi non sospetti CONFIG_FAIR_GROUP_SCHED e relativo FAIR_USER_SCHED probabilmente durante un make oldconfig
Quote:
This option will choose userid as the basis for grouping tasks, thus providing equal CPU bandwidth to each user.
In questo modo quindi stavo dividendo la CPU con una decina di "utenti" sul mio portatile considerando root per emerge, il mio utente desktop e una manciata di demoni con il loro uid in una maniera assolutamente non consona per una macchina single-human-user :)

Disabilitando CONFIG_FAIR_GROUP_SCHED i rallentamenti sono spariti ed ascoltare la dolce melodia della ventolina della CPU è di nuovo l'unico modo per capire che c'è una compilazione in corso ;)
_________________
Please EU, pimp my country!

ICE: /etc/init.d/iptables panic
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Thu May 22, 2008 4:53 pm    Post subject: Reply with quote

per la serie meglio tardi che mai... :twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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