Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1006 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Hardware

  C'est quoi cette histoire de cpu throttling ?

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

C'est quoi cette histoire de cpu throttling ?

n°1303296
Swiss_Knig​ht
600 MeV since 1957.
Posté le 02-02-2012 à 01:34:54  profilanswer
 

Salut tout le monde,

 

Sur mon cher forum Ubuntu, il y a un brave type qui essaye tant bien que mal de m'expliquer un truc dont je n'ai jamais entendu parlé :
le CPU Throttling, en me disant que mon 4ème cœur (Phenom II X3 unlocké dans le BIOS) n'est qu'une sorte d'émulation.

 

Je pige pas où il veut en venir.  :sweat: ça vous parle vous ?

 

je quote :

Citation :

And you'd be correct. As well as not entirely informed. Not that that's wrong. You're getting a 4th core depending on X, Y, and Z conditions. It's one way to Throttle the CPU. Directly used Dynamic Frequency Scaling is one type, ACPI CPU Throttling (Where your CPU's Frequency and Voltage are lowered when you're on Battery Power, or your Battery isn't fully charged yet, or your computer has Power Saving features that activate the feature.) is another. What YOU have is a Triple Core processor with a form of CPU Throttling that emulates a 4th Core in a similar way to Overclocking. To which I say, Either use the 4th Core 100% of the time by activating it and disabling the conditions that shut it off, or if that isn't possible, disable the feature all together.

 

Conky hates CPU Throttling. Even when there are processors that can just save power by slowing down, Conky reads the lower speed, and doesn't shift to the higher one unless you shut it down and start it back up with full power and no hint of the processor being throttled. By that point, you might as well shut off the feature anyways. CPU Throttling in all of it's forms just don't work right. They really don't serve anyone's best interest.

 

I'm trying to be as thorough as I can be. I don't mean to sound... well... rude about it... but this is one of those old, annoying issues that are hard to explain without either a lot of words (Which makes the person saying it sound arrogant) or a few, very direct words. (which makes the person sound annoyed and rude.)

 

Just disable it. Just trust me on this. Conky will never get used to it, and you're just going to get crashes. There are a lot of people here who would probably love to get it working just for the challenge of it, but when push comes to shove it's a useless feature.

 

And, for example, your LUA script there is taking a roundabout way to check with the OS what processors are currently running, outputting it to a log file, and using the LUA equivalent of GREP/AWK/SED to find one value to compare to. One problem with this. The BIOS and the CPU file don't always agree. The same reason Conky doesn't like CPU Throttling. The Log Files show one value, the BIOS another. The Decision process will always see the same number of CPUs, because there will always be at least one row somewhere in the log file that shows the 4th CPU exists. Then, when the rest of the script goes to run, it will check with the BIOS and the BIOS will say "No. It's not running." and the script will break.

 

So, the question becomes, are you willing to pull your hair out looking for a way to detect a virtual processor that has been known to disappear on crashing? Or do you just want everything to run properly? In which case you disable the CPU Throttling feature, and chances are the Crashes will start to disappear with it. The Virtual CPU was a giant mistake in computing. That's why it's not really done anymore. They have multiple cores, and sometimes hyperthreading. Beyond that, it's a failed gimmick.

 

Plus... that's a line you don't need in your Conky setup that you can use for other things, or making everything else fit better.


&

Citation :

Yes, Swiss_Knight. I HAVE Heard of it (Phenom II X2/X3 unlocking). And, again, as I said, disable it. Either activate it in the BIOS and remove all conditions where it disables OR disable it permanently. The unlock feature is a form of CPU Throttling. I've been working in the Computer Industry for 15 years. I am very much aware of what I'm saying. YOU may not see it as CPU Throttling, Hell, most anyone else wouldn't either. But CONKY DOES. Even if you get the LUA script to see it properly, Conky will report it differently or have problems with the hardware switch. It's Conky. It's not an incredibly complex program. It is more of a program that reads a script, and as such is very simplistic on some more complex issues such as this.

 

I've tried the verbose explanation of why I say it, I've tried the short version. If this is a language barrier, please tell me so I can better direct what I'm saying so you don't mistake it again.


jamais entendu parlé de ça moi, c'est peut-être un peu trop technique pour moi ? je sais pas...
Si des personnes savent de quoi il en retourne... :hello:


Message édité par Swiss_Knight le 02-02-2012 à 02:00:32

---------------
Hergestellt in der Schweiz.
mood
Publicité
Posté le 02-02-2012 à 01:34:54  profilanswer
 

n°1303297
NoradII
Il y a 17 ans naquit un PC
Posté le 02-02-2012 à 02:08:35  profilanswer
 

L'as fumé le gars [:fou]
le throttle ne fait que décélérer la fréquence pour des raison de TDP ou d'alimentation. un 4ème coeurs n'apparaît/ne disparaît, pas parce qu'il y a throttle !! C'est quoi cette histoire [:million dollar baby]
et puis cette phrase qui le dé-crédibilise à fond "The unlock feature is a form of CPU Throttling." bon bah voilà j'ai pas lu plus loin :D ça sert à rien ! Il à un cancer et fume de la marijuana :spamafote:

 

Conky c'est quoi, j'en sais rien, mais je n'ai jamais visité sa planète et je dois dire que ça me fait pas envie !


Message édité par NoradII le 02-02-2012 à 02:16:08

---------------
valid.x86.fr/575505 /842925 /902578
n°1303298
Swiss_Knig​ht
600 MeV since 1957.
Posté le 02-02-2012 à 02:43:47  profilanswer
 

J'ai aussi eu la même réaction quand j'ai lu son histoire :S :D
 
Et je sais qu'ici il y a du lourd niveau hardware pure et dur. Donc je voulais comparer un peu des avis sur le sujet.
 
 
************************************************************
Pour ta gouverne, et celle d'éventuels visiteurs ne connaissant pas la chose, conky c'est ça : http://conky.sourceforge.net/ & http://fr.wikipedia.org/wiki/Conky  

Citation :

Conky permet de surveiller presque tous les paramètres systèmes, de la température du disque dur à la vitesse des ventilateurs en passant par la charge de la batterie. Mais ce n'est pas simplement un logiciel du style "Everest", il est bien plus que ça. Notamment en permettant un intégration sur le bureau, l'affichage de graphiques, la personnalisation du style et de toutes les variables que vous pourriez avoir envie d'afficher.
 
En plus de cela, Conky est personnalisable à souhait !


 
En gros ; un truc de geek qui fait joli sur le bureau, et qui permet l'affichage de plusieurs variables système, la météo, etc etc etc.
Y a des 'fous' qui se sont amusés à coder des trucs de dingue, avec des compteurs genre "compteur automobile" ou baromètre... Le rendu est magnifique, mais j'ai pas la trempe pour coder ce genre de chose perso.
 
Exemples en images :
http://hfr-rehost.net/http://self/ [...] 996fe.jpeg
http://uploads.siteduzero.com/file [...] 207686.png
google-images


---------------
Hergestellt in der Schweiz.
n°1303299
NoradII
Il y a 17 ans naquit un PC
Posté le 02-02-2012 à 03:12:14  profilanswer
 

lol conky pote avec corky :lol:
 
OK, OK, oui, oui je sors [:tang]


---------------
valid.x86.fr/575505 /842925 /902578
n°1303300
NoradII
Il y a 17 ans naquit un PC
Posté le 02-02-2012 à 04:03:30  profilanswer
 

et donc ça serait ce truc, du même acabit qu'AIDA ou HWinfo64 .. qui ferait :??:
Bon j'ai mal, trop rigolé @+ :D :hello:


---------------
valid.x86.fr/575505 /842925 /902578
n°1303340
FranceDenB​as
1 dépense = 1 socialiss' :o
Posté le 02-02-2012 à 10:15:46  profilanswer
 

NoradII a écrit :

et donc ça serait ce truc, du même acabit qu'AIDA ou HWinfo64 .. qui ferait :??:
Bon j'ai mal, trop rigolé @+ :D :hello:


 
Pas vraiment : AIDA et HWinfo64, c'est plus de l'info système, Conky c'est un senseur uniquement. :jap:


Message édité par FranceDenBas le 02-02-2012 à 10:16:00

---------------
"Il a inventé le bougisme : je bouge donc je suis" :sol: - Dupont-Aignan à propos de Son Altesse Sérénissime Sarkal 1er. Merci Handsome Devil et Meriadeck.
n°1303420
NoradII
Il y a 17 ans naquit un PC
Posté le 02-02-2012 à 17:03:43  profilanswer
 

font les deux, en c'qui les concernent :kaola:

 

:D

Message cité 1 fois
Message édité par NoradII le 02-02-2012 à 17:03:50

---------------
valid.x86.fr/575505 /842925 /902578
n°1303428
FranceDenB​as
1 dépense = 1 socialiss' :o
Posté le 02-02-2012 à 21:37:01  profilanswer
 

NoradII a écrit :

font les deux, en c'qui les concernent :kaola:
 
:D


 
Ce que je voulais dire c'est que Conky fait pas la même chose que lshw, et les autres effectivement pour Aida c'est le seul que je connais sous windows y'a des modules smart/T° cpu/... :jap:


---------------
"Il a inventé le bougisme : je bouge donc je suis" :sol: - Dupont-Aignan à propos de Son Altesse Sérénissime Sarkal 1er. Merci Handsome Devil et Meriadeck.
n°1303434
NoradII
Il y a 17 ans naquit un PC
Posté le 02-02-2012 à 23:06:46  profilanswer
 

tu me dira moi et les solutions alternatives :spamafote:


---------------
valid.x86.fr/575505 /842925 /902578
n°1303438
boubou32
Posté le 03-02-2012 à 01:14:59  profilanswer
 

oui cher NORADII tu devrais y regarder de temps en temps car il y a des choses très intéressantes... : Jap:


---------------
Achats-Ventes: http://forum.hardware.fr/forum2.ph [...] #t17792956  
mood
Publicité
Posté le 03-02-2012 à 01:14:59  profilanswer
 

n°1303439
NoradII
Il y a 17 ans naquit un PC
Posté le 03-02-2012 à 01:20:35  profilanswer
 

moué :sarcastic:


Message édité par NoradII le 03-02-2012 à 01:20:41

---------------
valid.x86.fr/575505 /842925 /902578
n°1303478
Manisque
Posté le 03-02-2012 à 11:22:03  profilanswer
 

Pourtant conky fonctionne bien avec le thermal throttling des P4 :D
J'y ai régulièrement le droit chaque été ou quand j'utilise la prise d'air du ventilo comme presse-papier, conky n'affiche rien de choquant (et le deuxième core du pentium D ne disparait pas pour autant)...
(On pose la feuille devant, dans les 30s le ventilo accélère, et la feuille tient tout seul :D)
 
En fait conky affiche bêtement ce qui correspond à sa conf, si il est configuré comme un sale, c'est normal qu'il fasse n'importe quoi.


---------------
Si tu bois froid juste après le potage chaud, ça va faire sauter l'émail de tes dents - Monorailcat iz ohverin
n°1303483
krumli
Posté le 03-02-2012 à 12:15:58  profilanswer
 

TL:DR mais le Throttling n'a évidemment rien à voir avec l'activation du 4ième coeur.
 
Néanmoins, vérifie bien avec dmesg que tu n’aies pas des message d'erreur.
Je suis passé de 3 à 4 coeurs avec un Athlon, le 4ième coeur était activé mais sous dmesg, une chié de msg d'erreur concernant le cache L2 (pas de crash système pourtant et le 4ième coeur était utilisé (htop))


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Hardware

  C'est quoi cette histoire de cpu throttling ?

 

Sujets relatifs
Linux sur ARM et SingleBoard Computers - Linaro, DevBoard, S.O.Cafficher les dépendances entre fichiers C
Shorewall : histoire d'une conf presque finie...[matlab/C++] ASA - adaptatibe stimulated annealing
Défragmenter XFS ? C'est par ici !emacs raccourcis pour commenter Ctrl+/
[KUNBUNTU] C'est quoi un plasmoïde?en C, double accepté, float refusé pour scanf("%lf", pourquoi ?
Plus de sujets relatifs à : C'est quoi cette histoire de cpu throttling ?


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR