#
#asahi · 2022-10-27 02:40
chadmed"that doesnt look right, the snapdragon uses more power" really doesnt invalidate the methodology i checked over multiple times and cross referenced with an entirely different one tbh
#asahi · 2022-10-27 02:39
chadmedi think the cores really just are this efficient
#asahi · 2022-10-27 02:39
chadmedno they shouldnt, which is why i use m1n1 and hit the energy counters inside the cores directly to avoid this exact thing happening, where the total system power turns the work a single core is doing into noise
#asahi · 2022-10-27 02:38
kazukiResults still shouldn't be negative though...
#asahi · 2022-10-27 02:38
chadmedthe system is doing a load of other stuff, and the work the single core is doing at 600mhz just falls into background noise
#asahi · 2022-10-27 02:38
chadmedbecause its like i predicted
#asahi · 2022-10-27 02:37
kazukiYeah idk how you got that
#asahi · 2022-10-27 02:37
chadmedthe core creates energy
#asahi · 2022-10-27 02:37
chadmedno as in NEGATIVE 300mW
#asahi · 2022-10-27 02:36
kazukichadmed: 300mw at lowest freq?
#asahi · 2022-10-27 02:30
chadmedjim keller found a way to create energy from running instructions
#asahi · 2022-10-27 02:30
chadmed-300mW uh-huh yeah sure
#asahi · 2022-10-27 02:30
chadmedsorry
#asahi · 2022-10-27 02:30
chadmedyeah this is utterly useless, its just noise
#asahi · 2022-10-27 01:44
chadmedim setting the options recommended in the readme
#asahi · 2022-10-27 01:44
chadmeddont have the userspace scheduler enabled in my normal build, and my timer frequency is 1khz
#asahi · 2022-10-27 01:40
kazukiHeh, what for though?
#asahi · 2022-10-27 01:39
chadmedyouve nerd sniped me though, building a kernel now :P
#asahi · 2022-10-27 01:39
kazukiYeah true
#asahi · 2022-10-27 01:33
chadmedso the scaling between them should be consistent
#asahi · 2022-10-27 01:33
chadmedand like if we're going to say that what matters is the scaling between cores for the EM and the actual value doesnt matter, then it doesnt matter if theyre too low either since all cores and pstates were tested exactly the same way
#asahi · 2022-10-27 01:32
chadmedprobably not, but if its going to get the power value out of the SMC then its going to show the same thing i got in m1n1 when i did it, which matched the values from the joule counters, which is what is in the DT
#asahi · 2022-10-27 01:30
kazukiYes but does it matter if *all* the power metrics have the entire system power draw included?
#asahi · 2022-10-27 01:28
chadmedbut it wouldnt work because it has no conception of the SMC and im not going to add it just to arrive at the same conclusion i did in m1n1
#asahi · 2022-10-27 01:27
chadmedor rather, if it _did_ work, it would give the value out of the SMC which will include the entire system power draw and not just one core
#asahi · 2022-10-27 01:27
TramtristIs there a large asahi presence on Mastodon? I see a large presence on twitter but cant seem to find equivalent mastodon post volume.. Im on fosstodon myself
#asahi · 2022-10-27 01:26
chadmedok no this isnt going to work for power sampling
#asahi · 2022-10-27 01:21
kazukiI think the CPU capacities were calculated with this benchmark
#asahi · 2022-10-27 01:21
kazukihttps://github.com/kdrag0n/freqbench/tree/master/results/t8103
#asahi · 2022-10-27 01:21
kazukiThere's perf stats for t8103, but there's no power data
#asahi · 2022-10-27 01:20
kazukiMaybe we can try something like this? https://github.com/kdrag0n/freqbench
#asahi · 2022-10-27 01:19
chadmednot really willing to scratch up traces on the logic board of my daily driver to find out though :P
#asahi · 2022-10-27 01:19
chadmedyeah i know, at first i thought we might not be initialising the counters properly, but like i said it lines up with an earlier methodology where i would use the SMC's integrated power meter. the values are within a few % of each other
#asahi · 2022-10-27 01:18
kazukiHm that seems super low
#asahi · 2022-10-27 01:16
chadmediirc the max opp-microwatt value for firestorm was ~27k or something ridiculous without floating point instructions
#asahi · 2022-10-27 01:15
chadmedi dont think the methodology itself is _particularly_ flawed, for example there is a very noticeable increase in power use when you light up the FPUs
#asahi · 2022-10-27 01:15
chadmed(in m1n1)
#asahi · 2022-10-27 01:14
chadmedbasically what i did was read the joule counters, run a mix of integer and floating point instructions, measure how long they took, read the joule counters again, take deltaE and then divide by the time the instructions took
#asahi · 2022-10-27 01:13
chadmedill spend some time refining the methodology when i have a few days to dedicate to it. fwiw i dont entirely disagree, and like i said we werent really sure ourselves if they were legit or not.
#asahi · 2022-10-27 01:12
kazukiThat's true but I think your values are too low even considering that
#asahi · 2022-10-27 01:11
chadmedwhich doesnt actually tell us much about what the core clusters are doing
#asahi · 2022-10-27 01:11
chadmedso thats really going to be whole of soc power for the load
#asahi · 2022-10-27 01:08
kazukiIirc the person who did the benchmark hooked up the phone to a power meter
#asahi · 2022-10-27 01:07
chadmedlike, i sincerely doubt specint 06 has any awareness (or access to under macos) the core's perf counter registers...
#asahi · 2022-10-27 01:06
chadmedhow does specint work that out though
#asahi · 2022-10-27 01:03
kazukihttps://images.anandtech.com/doci/16192/spec2006_A14.png
#asahi · 2022-10-27 01:03
kazukiI see, I was curious since benchmarks from others show a very different picture
#asahi · 2022-10-27 01:03
chadmedm p s, j a n n a u and i smoke tested them for a while when i first worked on it and there were no regressions at the very least :P
#asahi · 2022-10-27 01:02
chadmedi think i mightve said it on m a r c a n's stream, but we actually arent *entirely* sure theyre correct (the counters are weird) but he merged them anyway to prove that EAS works in principle
#asahi · 2022-10-27 01:01
chadmedkazuki: they came straight out of the cluster and core joule counters and match a cruder mechanism i was using previously based on the SMC's idea of power consumption

plus ›