Question XOR and other bitwise operations in new CPUS

r_scooter

Junior Member
Aug 8, 2023
11
1
41
Does anyone know the power requirements of different CPU instruction sets well enough to help me decide how to test the voltage that is pumped out of my power supply during different programming operations?

I have a multimeter but a software-based app would be a nice-to-have.
 
Last edited:

fkoehler

Senior member
Feb 29, 2008
214
175
116
There are known power/time attacks that can be done, however IIRC its commonly done a lot closer to the proc, probably from the Gnd/Power pins.
Even there, power/timing attacks are going to be flooded with everything else requiring power/signals to discern some ALU traffic.
I'd bet money a simple MM isn't going to provide anything of value, even the best Keysight scope without a lot of intrusive engineering, bare metal programming, and massive data acquisition and effort to find the signal to the noise.
 

zir_blazer

Golden Member
Jun 6, 2013
1,206
502
136
I believe that your idea is... very badly thought. What on earth are you trying to achieve?
To remove noise in results, you most likely would want to have a functioning Processor executing NO code at all and still have a way to feed it instructions so that you can measure your thing. Obviously, this is most likely impossible. Closest thing would be to use Linux with isolated CPUs as Kernel Parameter so that the CPU Scheduler doesn't uses some Cores unless being instructed to do so, then manually run your test application to load those Cores. You could Software measure power consumption with available tools. But to observe Voltage from the Power Supply? What for?
 

fkoehler

Senior member
Feb 29, 2008
214
175
116
You didn't bother to reply, so...

If someone wanted to do this, I'd start by not trying to re-engerd stuff and try to find public source architecture documents from the manf's themselves.
A lot of this stuff is going to come down to process/lithography, pico-jule per bit, etc, etc, and is often bragged about at conferences like Hot Chips, etc.
Power per operation are a thing in supercomputer research and development where they are always looking to max out math performance at scale.
If you're just wondering if using SSE vs AVX is going to use more power, or be faster, much easier to just park all but one core and run a couple of programs bare metal is possible over a long enough time to measure watts used by the proc.
Again, not easy or probably possible if the first piece of test equipment that comes to mind is a DMM.
 

Doug S

Diamond Member
Feb 8, 2020
3,005
5,168
136
Assuming you have a good, trusted way of measuring power on that scale (probably the on chip power monitoring stuff is as good as you can get, unless you have really good reason to believe you can do better) then you want to boot into as minimal an operating system as you can. Ideally you'd run something out of EFI, but failing that booting into single user mode on Linux is probably the best you can manage. Then run a program that consists of doing nothing but the instruction(s) you care about in an infinite loop and measure the power used while that is running, versus what is used while doing nothing and versus what is used while doing an infinite busy loop of NOOP.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |