• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Frage zu Core2Duo PEBS:

revealed

Guru
Hallo!

Kennt sich jemand aus? Ich habe einen Core2Duo E6600. In dmesg erhalte ich folgende Meldungen:
Code:
[    0.003152] Performance Events: PEBS fmt0-, Core2 events, Intel PMU driver.
[    0.003272] PEBS disabled due to CPU errata.
Was bedeutet das? Sollte das nicht funktionieren? Des scheint ja ein bestimmter Befehlssatz zu sein.

Vielen Dank!

Gruß,

R
 

RME

Advanced Hacker
Hallo,

Hier eine Definition für PEBS:

The full use of the Precise Event Based Sampling (PEBS) mechanism, only available on Intel® processors, enables simultaneous profiling by both Instruction Pointer (IP) and by data address, and a graphical filtering interface facilitates the analysis and identification of performance bottlenecks due to data access and layout issues.
http://www.intel.com/technology/itj/2007/v11i4/2-parallelization/2-intro.htm

Die Meldung:
Code:
PEBS disabled due to CPU errata.
wird in der Datei
Code:
/usr/src/linux-2.6.37.6-0.5/arch/x86/kernel/cpu/perf_event_intel.c
geschrieben.

Die Meldung bekomme ich nicht:

Code:
 > dmesg |grep -A 20 -B 4  fmt1
[    0.000216] CPU: Processor Core ID: 0
[    0.000219] mce: CPU supports 9 MCE banks
[    0.000227] CPU0: Thermal monitoring enabled (TM1)
[    0.000232] using mwait in idle threads.
[    0.000235] Performance Events: PEBS fmt1+, Nehalem events, Intel PMU driver.
[    0.000239] ... version:                3
[    0.000240] ... bit width:              48
[    0.000241] ... generic registers:      4
[    0.000242] ... value mask:             0000ffffffffffff
[    0.000244] ... max period:             000000007fffffff
[    0.000245] ... fixed-purpose events:   3
[    0.000246] ... event mask:             000000070000000f
[    0.000583] ACPI: Core revision 20101013
[    0.116065] Overriding APIC driver with bigsmp
[    0.116067] Enabling APIC mode:  Physflat.  Using 1 I/O APICs
[    0.116220] Leaving ESR disabled.
[    0.116222] Mapping cpu 0 to node 0
[    0.116389] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.126374] CPU0: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz stepping 05
[    0.230394] NMI watchdog enabled, takes one hw-pmu counter.
[    0.234260] CPU 1 irqstacks, hard=f21be000 soft=f21c0000
[    0.234265] Booting Node   0, Processors  #1
[    0.244669] Initializing CPU#1
[    0.245259] Leaving ESR disabled.
[    0.245261] Mapping cpu 1 to node 0
 >

Gruss,
Roland
 
OP
revealed

revealed

Guru
Hi!

Danke für die Informationen schonmal! Ich vermute der Unterschied könnte darin liegen, dass du einen Core i5 hast und ich einen weitaus betagteren E6600;

Code:
dmesg |grep -A 20 -B 4 fmt
[    0.002174] CPU: Processor Core ID: 0
[    0.002221] mce: CPU supports 6 MCE banks
[    0.002271] CPU0: Thermal monitoring enabled (TM2)
[    0.002319] using mwait in idle threads.
[    0.002369] Performance Events: PEBS fmt0-, Core2 events, Intel PMU driver.
[    0.002490] PEBS disabled due to CPU errata.
[    0.002537] ... version:                2
[    0.002583] ... bit width:              40
[    0.002629] ... generic registers:      2
[    0.002675] ... value mask:             000000ffffffffff
[    0.002722] ... max period:             000000007fffffff
[    0.002769] ... fixed-purpose events:   3
[    0.002815] ... event mask:             0000000700000003
[    0.003298] ACPI: Core revision 20101013
[    0.012053] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.012237] Mapping cpu 0 to node 0
[    0.013164] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.023259] CPU0: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz stepping 06
[    0.026101] NMI watchdog enabled, takes one hw-pmu counter.
[    0.030022] CPU 1 irqstacks, hard=f10f0000 soft=f10f2000
[    0.030027] Booting Node   0, Processors  #1
[    0.001999] Initializing CPU#1
[    0.001999] Mapping cpu 1 to node 0
[    0.103027] NMI watchdog enabled, takes one hw-pmu counter.
[    0.104009] Brought up 2 CPUs

Hm was bleibt zu tun?

Gruß,

R
 

mkossmann

Member
Ich befürchte, daß du da nicht viel machen kannst. Außer den Prozessor gegen ein neueres Modell zu wechseln, das das PEBS Problem nicht mehr hat. Was aber m.M.n. nur sinnvoll ist, wenn du eine Anwendung hast, die von PEBS deutlich profitiert oder du ohnehin aufrüsten willst.
 
OP
revealed

revealed

Guru
Hi!

Mir liegt die Frage nach dem Problem auf der Zunge. War dir das bekannt? Also nichts für ungut bitte. Aber der Proz war seinerzeit ziemlich teuer. Da hätte ich von Intel irgendwie erwartet, dass ein solches feature funktioniert. Aber da kann man dann wohl nichts machen.

Ob ich PEBS konkret brauche kann ich so nicht sagen. Vom prinzip her brauch ich immer alles was irgendwie leistung bringt, selbst wenn ich nicht weiss das ich es habe. Kann ja nicht immer überall genau nachschauen.

In dem Fall bin ich durch dmesg aufmerksam geworden.

Danke.

Gruß,

R
 
Oben