Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [DE] siduction linux-image (kernLob)  (Read 6392 times)

Offline ralul

  • User
  • Posts: 1.814
[DE] siduction linux-image (kernLob)
« on: 2011/12/04, 14:01:49 »
Der siduction Linux Kernel ist richtig hervorragend:

Ich spüre im Vergleich zu meinem eigen kompilierten Kernel kaum Unterschiede in der Performance! (Und ich habe meinen Kernel über ein Jahr auf mein System optimiert, mit BFS gepatcht ...etc)

Weiter so siduction!
Und bitte keine Upgrade Orgien mit dem linux-image: Vielleicht erst beim Point.3 Release einer neuen Linux Version ein Einbau ins Meta-Paket!? Und auch nicht jeder stable-queue Patch ist wichtig (wie slh bei aptosid zu meinen scheint)!

Nachtrag:
Um schnell zu sehen auf der Konsole/Terminal, wie die Performance ist, habe ich mir ein Script gebastelt, dass die aktuelle Frequenz der cpus anzeigt. Das geht für intel Cpus, die "ondemand" schnell laufen, mit Amd cpus ist es nicht getestet.
/usr/local/bin/mycpu:

[Edit 2011-12-06] Neue Version weiter unten:
http://forum.siduction.org/index.php?msg=13682#13682

Code: [Select]
#!/bin/bash
set -e
if [ -z $1 ] ; then
 # 3seconds pause in loop
 a="3"
elif [ "${1%%[1-9]*}" == "" ] ; then
 # $1 is integer - take parameter as pause in loop
 a="$1"
else
 echo " $0 shows actual frequencies of intel cpus running ondemand speed"
 echo " $0 [pauseSeconds]"
 exit 0
fi
# array to show one single sign for one frequency
declare -a z=( '#'  '+'  '='  '-'  '.'  '_'  '!'  'too_much_freqencies!' )
declare -a f="$(head -n 1 /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies)"
declare -a s
j=0
for i in ${f[@]} ; do
  s[$i]=${z[$j]}
  echo " ${z[$j]} is $i"
  j=$(($j + 1))
done

declare -i z=0
until read -s -n 1 -t $a ; do
#  while sleep $a ; do  #better with sleep, but needs Ctrl+c to kill instead of just a key
  : $((z += 1))
  for i in /sys/devices/system/cpu/cpu[012345678]/cpufreq/scaling_cur_freq ; do
    echo -n "${s[$(<$i)]}"
  done
  [ $(( $z % 10)) -eq 0 ] && echo "  $((z * a))s" ||  echo -n "  "
done
« Last Edit: 2013/11/10, 04:35:25 by ayla »
experiencing siduction runs better than my gentoo makes me know I know nothing

Zeitgeist

  • Guest
siduction linux-image (kernLob)
« Reply #1 on: 2011/12/04, 18:08:52 »
Das Script funktioniert bei mir mit einem AMD Athlon II X4 640.

Offline ralul

  • User
  • Posts: 1.814
siduction linux-image (kernLob)
« Reply #2 on: 2011/12/04, 18:43:10 »
@MadDin, wieviel Frequenzen hat denn dei Athlon, welche Zeichen siehst du ?
experiencing siduction runs better than my gentoo makes me know I know nothing

Zeitgeist

  • Guest
siduction linux-image (kernLob)
« Reply #3 on: 2011/12/04, 19:26:06 »
Also mein Athlon ist standartmäßig mit 3GHz je Kern getaktet (Ich übertakte grundsätzlich nicht).

Hier hast du mal ein bisschen Output von deinem Script:

Code: [Select]
martin@Mars:~$ ./mycpu
 # is 3000000
 + is 2300000
 = is 1800000
 - is 800000
----  ----  ----  ----  ----  --=-  ----  ----  ----  -#--  30s
----  =---  ----  ----  ----  --#-  ----  #--#  ----  ----  60s
#---  ----  ----  ----  ----  ----  ----  #---  #---  #---  90s
----  ##--  #---  ----  ----  ---#  ----  -=--  #---  ----  120s
#---  ----  ----  ----  ----  #---  ----  ----  +---  ----  150s
----  ----  #--#  #---  =---  #---  ----  #---  ----  ----  180s
-#--  #---  #---  ----  ----  ----  ----  #---  #---  ---#  210s
#-#-  #---  #---  #---  #---  #---  ----  #---  ----  ----  240s


Ich habe es erst mal zu Testzwecken in meinem Homeverzeichnis abgelegt und von dort gestartet(das sollte ja nichts an der Ausgabe ändern...).

LG Martin

EDIT

Ich verwende den Debian Vanilla Kernel(von SID).

Code: [Select]
martin@Mars:~$ uname -a
Linux Mars 3.1.0-1-amd64 #1 SMP Tue Nov 29 13:47:12 UTC 2011 x86_64 GNU/Linux

Offline ralul

  • User
  • Posts: 1.814
siduction linux-image (kernLob)
« Reply #4 on: 2011/12/04, 22:31:08 »
Interessant ist, dass Dein Athlon nur vier Frequenzen hat, diese aber breiter streckt als mein Intel.

Meine zwei cpus laufen gerade mit einem BFS gepatchten Linux:
Code: [Select]
>> uname -r
3.1.3-3.bfs.2

>> mycpu 1
 # is 2527000
 + is 2394000
 = is 2128000
 - is 1862000
 . is 1596000
0s
##  ##  ..  ..  ..  ..  ..  ..  ..  ..  10s
..  .#  ##  #.  .#  .#  #.  ##  ##  ..  20s
#+  ..  -+  ..  #.  ..  .-  ..  ..  .#  30s
.#  ..  ..  .#  .#  #.  =.  ..  .=  ..  40s
..  ..  #.  ..  ..  .#  ..  ..  ..  ..  50s
..  ..  ..  #.  .#  #.  ..  .#  .#  =.  60s
#.  ..  ..  ..  ..  ..  ..  ..  ..  ##  70s
##  ..  ##  #.  .#  ##  ..  ..  .#  ..  80s
..  ##  ..  ..  ..  .#  ..  ..  ..  ..  90s
..  .+  ..  ..  =#  ##  .#  ..  .#  =.  100s
+.  =#  ..  ..  ..  .#  #.  ..  .#  .#  110s
.#  ..  ..  ..  ..  .#  .#  ..  #=  ..  120s
..  ..  ..  ..  ..  =+  =#  ..  ..  ..  130s
..  +-  #.  ..  .#  .#  .#  ..  -#  ..  140s
..  ..  ..  ..  .#  .#  ..  ..  .#  ..  150s
=.  #.  .#  .#  #.  .#  .#  ..  .+  #.  160s

>> cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU     P8700  @ 2.53GHz
stepping : 10
cpu MHz : 1596.000
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dts tpr_shadow vnmi flexpriority
bogomips : 5041.90
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU     P8700  @ 2.53GHz
....
Die virtuelle Datei /proc/cpuinfo hat interessantere Infos!
Bei Dir läuft viel auf dem ersten Core, hast Du das nachträglich so eingestellt (cgroup wonder patch?) ?
Ich weiss gar nicht ob es so gut für den Prozessor ist, wenn die Hitzeentwicklung einseitig sich konzentriert auf einen Teil (Ich denke da an die Wärmeausdehnung).
experiencing siduction runs better than my gentoo makes me know I know nothing

Online reddark

  • User
  • Posts: 1.070
    • http://www.klangruinen.de/
siduction linux-image (kernLob)
« Reply #5 on: 2011/12/04, 22:40:23 »
Bei mir sieht es so aus:

Code: [Select]
# is 2100000
 + is 1500000
 = is 800000
==  ==  ==  +=  ##  #=  #=  #=  #=  +#  30s
#=  +#  ==  ==  ==  +=  +#  ==  +=  ++  60s
==  ==  ==  ==  ==  +=  ==  +#  +=  ==  90s
=+  ==  ==  ==  ==  +=  ==  ==  ==  ==  120s
==  ==  +=  =#  +=  #=  +=  =#  +=  ==  150s
+=  =#  ==  +=  =#  =#  ==  =#  ==  ==  180s
==  =+  ==  ==  =+  ==  ==  ==  ==  =+  210s
==  ==  +=  ==  ==  ==  =+  =+  ==  ##  240s


mit:
Code: [Select]
CPU[-AMD Athlon II P320 Dual-Core clocked at 800.000 Mhz-]  Kernel[-Linux 3.1-4.towo.1-siduction-amd64 x86_64-]

Offline ReinerS

  • User
  • Posts: 1.091
siduction linux-image (kernLob)
« Reply #6 on: 2011/12/05, 10:15:28 »
Bei mir:
Code: [Select]
# is 3000000
 + is 2300000
 = is 1800000
 - is 800000
--  --  --  --  --  --  --  --  --  --  30s
--  --  --  --  --  --  --  --  --  --  60s
-#  -=  --  --  --  --  -#  --  --  =-  90s
-#  --  --  #-  -#  -#  --  --  --  --  120s
--  --  ==  -#  ##  --  --  --  --  --  150s
--  --  --  --  --  --  --  --  --  --  180s
#-  -=  #-  --  --  =-  --  --  --  --  210s
--  --  --  --  --  --  --  --  --  --  240s
=-  =-  --  --  --  --  #-  --  --  --  270s
--  --  --  --  --  --  #-  --  #-  --  300s

CPU~Dual core AMD Athlon II X2 250 (-MCP-) clocked at 800.000 Mhz
Kernel~3.1.0-4.dmz.1-liquorix-amd64 x86_64 Up~1:06 Mem~1168.8/3958.9MB HDD~660.1GB(39.9% used)
Procs~207 Client~Shell inxi~1.7.27



Grüße


Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Offline cryptosteve

  • User
  • Posts: 675
siduction linux-image (kernLob)
« Reply #7 on: 2011/12/05, 15:42:57 »
Kann mir kurz jemand erklären, was genau man am Skript ablesen können soll? Und wie soll man sich während dessen verhalten? Normal arbeiten, idlen, Vollgas geben?
- born to create drama -
CS Virtual Travel Bug: VF6G5D

Offline ralul

  • User
  • Posts: 1.814
siduction linux-image (kernLob)
« Reply #8 on: 2011/12/05, 20:29:34 »
@cryptosteve, den Output des Sripts benutze ich wie ein Bastler sein Ohr am heiss geliebten Wagen, der ihm am Geräusch des Motors sagt, dass nach 200 km Fahrt ein Ventil das zeitliche segnen wird ... ich muss zugeben, die menschlichen Ohren sind noch sensibler als mein Script.

Als ich Fedora-15rc ausprobierte, hatte ich sofort gesehen, dass die Performance des Systems deshalb so schlecht war, weil alles nur auf einem statt auf beiden Intel Cores lief. Die Fedora Entwickler hatten einen Core des Systems für ihre Test Kompilationen gesichert. Das war also eine Folge des Cgroups-Wonder-Patch vor einem Jahr, von dem Linus Torvalds so geschwärmt hatte (statt den BFScheduler von Kolivas in Mainline zu integrieren).

Ich mache keine gesonderten und aufwendigen Performance Tests mit meinen selbst kompilierten Kerneln, aber durch Gebrauch des Scripts kenne ich meine typischen Auslastungsmuster gut. Dann fällt es mir ins Auge, wenn ich einen Kernel falsch konfiguriert habe und ein verquaastes System dabei herausgekommen ist.

Auch nach meinen Dist-Upgrades betrachte ich die "Zufalls"-Muster dieses Scripts. Eine neue Kde Version, die einen rumtollenden Nepomuk Dienst zur Folge hat, weil eine veraltete persönliche Konfiguration nicht mehr passt, ist alles schon passiert ...

Auch die Stromspar Effizienz des Systems siehst du mit dem Script. Kleinere Frequenzen verbrauchen weniger Strom, entwickeln weniger Wärme, lassen das System länger leben, weil weniger Zimmerstaub in das Gehäuse geblasen werden muss. Wenn ich meinen Lieblings Nachrichten Sender im Chrome-Browser sehr über-stark vergrößere oder zu sehr verkleinere, sind auf einmal nur noch heisse Doppelkreuze zu sehen.
experiencing siduction runs better than my gentoo makes me know I know nothing

Offline cryptosteve

  • User
  • Posts: 675
siduction linux-image (kernLob)
« Reply #9 on: 2011/12/05, 21:01:59 »
Ist ja alles schön und gut, aber dieses ganze Output-Vorgezeige gibt doch gar nichts her, wenn man sich nicht vorher auf einheitliche Verhaltensweisen geeinigt hat.

Hmm ... :)

Code: [Select]
[stell @ shangrila:~]% ./mycpu.sh
 # is 2667000
 + is 2666000
 = is 2133000
 - is 1600000
 . is 800000
#.  ..  ..  ..  ..  ..  ..  ..  ..  ..  30s
..  ..  ..  .#  ..  ..  ..  ..  ..  ..  60s
..  ..  ..  ..  ..  .#  -#  ..  .#  .=  90s
..  ..  ..  ..  ..  ..  ..  ..  ..  ..  120s
..  ..  ..  ..  #.  #.  ..  ##  ##  ..  150s
.#  ..  .+  ..  ..  -.  =.  ..  #.  -.  180s
.#  ..  ..  ..  ..  .#  ..  ..  ..  ..  210s
#.  -#  ..  ..  #.  ..  .#  ..  ..  =.  240s
- born to create drama -
CS Virtual Travel Bug: VF6G5D

Offline ralul

  • User
  • Posts: 1.814
siduction linux-image (kernLob)
« Reply #10 on: 2011/12/06, 11:08:15 »
@cryptoserve, jo mal butter bei die Fische. Aber gerade unterschiedliche Muster sind auch interessant. Schaut mal Ubuntu Unity! Heisses Bild sage ich nur.

Code: [Select]
ral@maci:~$ mycpu 1 2

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     P8700  @ 2.53GHz
stepping        : 10
cpu MHz         : 2527.000
cache size      : 3072 KB
physical id     : 0
3.1.3-3.bfs.12.54 x86_64 Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz
 
After 10 freqs there is one ps showing highest at that time, like:
%CPU   TIME STAT COMMAND
38.3  11:38 SLl  chrome
18.5   6:48 Ss+  X
STAT is:
R_running  S_sleeping  T_stoped  X_dead  Z_zombie  <_NotNice
N_lowPriority  L_ioWait s_sessionLeader  l_Thread  +_foreground
 
 # is 2527000
 + is 2394000
 = is 2128000
 - is 1862000
 . is 1596000
                                    %CPU   TIME STAT COMMAND
.. .. .. .. .. .. .. .. .. .. 10s   38.2  11:41 SLl  chrome
                                    18.5   6:50 Rs+  X
#. .. .. .. .. .. .. .. .. .. 20s   38.2  11:43 SLl  chrome
                                    18.5   6:51 Ss+  X
## ## ## ## ## #. -. .# .. .# 30s   38.1  11:46 SLl  chrome
                                    18.5   6:52 Ss+  X
.. .. .. #. .. .. .. .. .# .. 40s   38.1  11:49 SLl  chrome
                                    18.4   6:53 Ss+  X
#. #. #. .. -. .# #. .# .# .. 50s   38.0  11:52 SLl  chrome
                                    18.4   6:55 Ss+  X
experiencing siduction runs better than my gentoo makes me know I know nothing

Offline ralul

  • User
  • Posts: 1.814
siduction linux-image (kernLob)
« Reply #11 on: 2011/12/06, 11:37:19 »
Neue Version:
Ein klein wenig anders wie mein Ouput oben (Ablauf Sekunden hinten)

Neues Feature:
Anzeige der belastenden Prozesse rechts an der Seite
Code: [Select]
#!/bin/bash
set -e
declare -i sleepy=2
# 2 seconds sleep every measurement
if [ -z $1 ] ; then
 sleepy=2
elif [ "${1%%[1-9]*}" == "" ] ; then
 # $1 is integer - take parameter as pause between freqs measurement
 sleepy=$1
else
 echo " help:"
 echo " $0 shows actual frequencies of cpu cores running ondemand speed"
 echo " $0 [1.integer [ 2.integer]]"
 echo " numbers of 1.seconds_for_to_sleep, 2.processes_to_watch, example:"
 echo " $0 2 3"
 exit 0
fi

declare -A A
# A - associative array holding single signs to symbolize a frequency
declare -a b
# b - helper array to configure, later holds ps output
declare -a c
# c - holds available frequencies of the cpu
declare -i i=0
# i - helper for loops
declare -i n=0
# n - helper to remember array indices
declare -i p=2
# p - how many top processes to look at - users 2.arg can configure this
# d - string containing white spaces only - dinstance format if $2"
# f - helper variable to get some text strings and file names
if [ -z $2 ] ; then
 p=2
elif [ "${2%%[1-9]*}" == "" ] ; then
 # $2 number of top processes to show
 p=$2
fi

c=( $(head -n 1 /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies) )
# Nach der Anzahl der zur Verfügung stehenden Frequenzen diese Zeichen nehmen:
case ${#c[@]} in
 8) b=( '@'  '#'  '+'  '='  '-'  '.'  '_'  '\' ) ;;
 7) b=( '@'  '#'  '+'  '='  '-'  '.'  '_' ) ;;
 6) b=( '@'  '#'  '+'  '='  '-'  '.' ) ;;
 5) b=( '#'  '+'  '='  '-'  '.' ) ;;
 4) b=( '#'  '+'  '-'  '.' ) ;;
 3) b=( '#'  '+'  '.' ) ;;
 2) b=( '+'  '-' ) ;;
 1) b=( '+' ) ;;
esac

cat /proc/cpuinfo|tail -n 26|sed -e'11,$ d'
uname -r -m -p
echo " "
echo "After 10 freqs there is one ps showing highest at that time, like:"
ps -e -o pcpu,bsdtime,stat,comm --sort -pcpu|head -n $(( p + 1 ))
echo "STAT is:"
echo "R_running  S_sleeping  T_stoped  X_dead  Z_zombie  <_NotNice"
echo "N_lowPriority  L_ioWait s_sessionLeader  l_Thread  +_foreground"
echo " "

# associative array A initialising
i=0
for f in ${c[@]} ; do
  A[$f]=${b[$i]}
  echo " ${b[$i]} is $f"
  i=$((i + 1))
done

# just formating a long empty line for additional ps outputs
declare -i cores=0
for f in /sys/devices/system/cpu/cpu[01234567]/cpufreq/scaling_cur_freq
  do cores=$((cores + 1)); done
d=""; for ((i=0;i<${cores};i++));do d="$d ";done
d="$d $d $d $d $d $d $d $d $d $d "
# IFS changing for to get ps ouput lines in an array
IFS="
"
n=0
# n - to change to the next line when reaching 10 measurements
echo -e "$d %CPU   TIME STAT COMMAND"
until read -s -n 1 -t $sleepy ; do
  # while sleep $sleepy ; do  #       sleep needs Ctrl+c to kill
  n=$((n + 1))
  for f in /sys/devices/system/cpu/cpu[01234567]/cpufreq/scaling_cur_freq ; do
    # f is the name of a virtual file holding solely the current frequence of a cpu-core
    echo -n "${A[$(<$f)]}"
    # this frequence number is the associative indice of the symbolizing sign
  done
  if [ $((n % 10)) -gt 0 ] ; then
     # not changing to the next line here
     echo -n ' '
  else
     b=(  $(ps -e -o pcpu,bsdtime,stat,comm --no-heading --sort -pcpu|head -n $p) )
     echo -e "  ${b[0]}   @ $((n * sleepy))s"
     # above is the first ps output - and we can display additional when user gave $2
     for ((i=1;i<p;i++)); do
       echo "$d ${b[$i]}";
     done
  fi
done
experiencing siduction runs better than my gentoo makes me know I know nothing

Offline cryptosteve

  • User
  • Posts: 675
siduction linux-image (kernLob)
« Reply #12 on: 2011/12/06, 15:05:51 »
Code: [Select]
[Di, 06.12.2011, 15:01:42]
[stell @ shangrila:~]% ./mycpu.sh

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     T9550  @ 2.66GHz
stepping        : 10
cpu MHz         : 800.000
cache size      : 6144 KB
physical id     : 0
3.1.0-gentoo-r1-stv-rev-3a x86_64 Intel(R) Core(TM)2 Duo CPU T9550 @ 2.66GHz
 
After 10 freqs there is one ps showing highest at that time, like:
%CPU   TIME STAT COMMAND
 7.2   0:02 Sl   chrome
 6.9   0:00 Sl   chrome
STAT is:
R_running  S_sleeping  T_stoped  X_dead  Z_zombie  <_NotNice
N_lowPriority  L_ioWait s_sessionLeader  l_Thread  +_foreground
 
 # is 2667000
 + is 2666000
 = is 2133000
 - is 1600000
 . is 800000
                               %CPU   TIME STAT COMMAND
.. -# =. .. #. .. .. .. .. ..   5.8   0:02 Sl   chrome   @ 20s
                                5.8   0:01 Sl   chrome
.. .. .. .. .. .. .. .. .. ..   4.1   0:02 Sl   chrome   @ 40s
                                3.6   0:01 Sl   chrome
.. .. .. .. .# .# .# .# #. .#   3.2   0:02 Sl   chrome   @ 60s
                                3.1   4:16 Sl   amarok
.. .. #- .. .. .. .. .. .# #.   3.1   4:16 Sl   amarok   @ 80s
                                2.7   0:03 Sl   chrome
#. .# .. .. .# .. .. .. .. ..   3.1   4:16 Sl   amarok   @ 100s
                                2.5   0:03 Sl   chrome
.. #- .. .# .. #- .. .. .. ..   3.6   0:04 Sl   chrome   @ 120s
                                3.1   4:16 Sl   amarok
.. .. .. .. .. .. .# #. #. .#   3.1   0:04 Sl   chrome   @ 140s
- born to create drama -
CS Virtual Travel Bug: VF6G5D

Zeitgeist

  • Guest
siduction linux-image (kernLob)
« Reply #13 on: 2011/12/06, 19:55:22 »
Quote from: "ralul"

Bei Dir läuft viel auf dem ersten Core, hast Du das nachträglich so eingestellt (cgroup wonder patch?) ?


Ich hab gar nichts eingestellt. Das ist der Kernel aus dem SID-Repo. Dieses Verhalten ist mir aber auch schon bei Aptosid, Debian Stable und Ubuntu 10.04 aufgefallen...

Hier mal /proc/cpuinfo :

Code: [Select]
martin@Mars:~$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 5
model name : AMD Athlon(tm) II X4 640 Processor
stepping : 3
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save
bogomips : 6027.32
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 1
vendor_id : AuthenticAMD
cpu family : 16
model : 5
model name : AMD Athlon(tm) II X4 640 Processor
stepping : 3
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save
bogomips : 6027.83
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 2
vendor_id : AuthenticAMD
cpu family : 16
model : 5
model name : AMD Athlon(tm) II X4 640 Processor
stepping : 3
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save
bogomips : 6027.87
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 3
vendor_id : AuthenticAMD
cpu family : 16
model : 5
model name : AMD Athlon(tm) II X4 640 Processor
stepping : 3
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save
bogomips : 6027.87
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate


Ich hab jetzt noch nicht soviel mit Kernelkompilierung rumgespielt, fand es aber ganz interessant(ein bisschen Geplänkel bei Gentoo).

holgerw

  • Guest
siduction linux-image (kernLob)
« Reply #14 on: 2011/12/07, 12:27:49 »
Hallo,

auf meinem Desktop Computer mit einem aktuellen OpenSUSE 12.1 gibt das Skript folgendes aus:
Code: [Select]
mycpu.sh
processor       : 3
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 5
model name      : AMD Athlon(tm) II X4 640 Processor
stepping        : 3
cpu MHz         : 800.000
cache size      : 512 KB
physical id     : 0
siblings        : 4
3.1.0-1.2-desktop x86_64 x86_64
 
After 10 freqs there is one ps showing highest at that time, like:
%CPU   TIME STAT COMMAND
15.4   8:41 Sl   audacity
 9.2   6:01 Sl   kwin
STAT is:
R_running  S_sleeping  T_stoped  X_dead  Z_zombie  <_NotNice
N_lowPriority  L_ioWait s_sessionLeader  l_Thread  +_foreground
 
 # is 3000000
 + is 2300000
 - is 1800000
 . is 800000
                                                   %CPU   TIME STAT COMMAND
+..# .#.. .... ..-. ##.. ...# .... ..#- ...- ##.#  15.3   8:43 Sl   audacity   @ 20s
                                                    9.2   6:03 Rl   kwin
...# #... .... #... .... ..#. .... .... .##. ....  15.3   8:46 Sl   audacity   @ 40s
                                                    9.2   6:05 Sl   kwin
.... .... -... ##.. ##.- -### ...# .... ...# -...  15.3   8:49 Sl   audacity   @ 60s
                                                    9.2   6:07 Sl   kwin
#-.. .... ..## .#.. .... #-.. .... .... .#.. ..#.  15.3   8:51 Sl   audacity   @ 80s
                                                    9.3   6:10 Rl   kwin
-#.. .... .... ##.. ##.. .-.. .... .... ##.. ....  15.3   8:54 Sl   audacity   @ 100s
                                                    9.3   6:12 Sl   kwin
.... .#.. .... #... .... .#.. ...# ...- .#.. ....  15.3   8:56 Sl   audacity   @ 120s
                                                    9.3   6:14 Sl   kwin
.... ..## .... .+.. ...# ...# .... ...# +... ...#  15.3   8:59 Sl   audacity   @ 140s
                                                    9.3   6:16 Sl   kwin
.... .... -.## .... ###. .... .... .... #... ###.  15.3   9:02 Sl   audacity   @ 160s
                                                    9.3   6:18 Sl   kwin
.#.. .... ..#. .... .... .... .... .#.. .... ....  15.2   9:04 Sl   audacity   @ 180s
                                                    9.3   6:20 Sl   kwin
.-.# .#.. .-.. -##. .#.. +##. ##-# #..# ##.- --.#  15.2   9:07 Sl   audacity   @ 200s
                                                    9.3   6:23 Sl   kwin
##+. #..# #... ##.. -... -#.. -... #### ##.# #-.-  15.2   9:09 Sl   audacity   @ 220s
                                                    9.3   6:25 Rl   kwin
#..# .#.. #.#. .... .... .... #.#. -... ..## -#-.  15.2   9:12 Sl   audacity   @ 240s
                                                    9.3   6:26 Sl   kwin
..#. ##-. ..## ..## .... ..#. ..#. ...# ..#- .#.#  15.2   9:16 Dl   audacity   @ 260s
                                                    9.3   8:15 Ss+  Xorg
..#. #... +... #.#. #... .+.. .-.. #... -.#. -...  15.2   9:19 Rl   audacity   @ 280s
                                                    9.3   8:17 Ss+  Xorg
.... .... .... ..#. ..-. ..#. --.. .#.. .... -#..  15.2   9:22 Sl   audacity   @ 300s
                                                    9.3   8:19 Ss+  Xorg
.... .... -.#. ##.# #-## ...# #-.. .... .... #..#  15.2   9:25 Sl   audacity   @ 320s
                                                    9.3   8:23 Rs+  Xorg
.... -.-. -.-. ##.# ##.. --.. .... ##-. #-.. .#..  15.2   9:28 Sl   audacity   @ 340s
                                                    9.4   8:28 Rs+  Xorg
.#.. #... ..#. .... .#.. #... #... .... #... #...  15.2   9:30 Sl   audacity   @ 360s
                                                    9.4   8:31 Rs+  Xorg
#-#. #..# -.#. -### ###. -#.# #.## ...# #..# ####  15.4   9:39 Dl   audacity   @ 380s
                                                    9.5   8:36 Rs+  Xorg
-#.# ##.# #..# #### -#.# --.# #--# -### -##- ---#  15.6   9:52 Rl   audacity   @ 400s
                                                    9.5   8:39 Ss+  Xorg
#-## ###- #..# ##.# #-.. ##+. ---. +-.. -... ##..  15.7   9:58 Sl   audacity   @ 420s
                                                    9.5   8:42 Ss+  Xorg
                         ###. #+-# .#.- -... .#.#  16.3   0:01 Rl   plasma-desktop   @ 440s
                                                   15.7  10:00 Sl   audacity                                                                          
     #-## ---. .... +..# -... +##. .##. -... ..#.  15.8   0:04 Sl   plasma-desktop   @ 460s
                                                   15.6  10:03 Sl   audacity                                                                          
#... #... ##.. #-.. .#.. -... #... ..-. #... .-..  15.6  10:03 Sl   audacity   @ 480s                                                                  
                                                    9.6   6:54 Sl   firefox-bin                                                                        
-#.. .... #... .+.. .... #... .+.# #... ..#. #...  15.5  10:04 Sl   audacity   @ 500s                                                                  
                                                    9.6   6:59 Sl   firefox-bin                                                                        
.... ..#. -.#. .-.. .... .##. #... ##.. .... ####  15.5  10:05 Sl   audacity   @ 520s                                                                  
                                                    9.7   7:04 Sl   firefox-bin                                                                        
.#.. #... #..#


Wird mein Prozessor gut genutzt? Ich bitte um Erklärungen zum Skript und zu dieser Ausgabe.

Viele Grüße,
  Holger