computer architecture - For a Single Cycle CPU How Much Energy Required For Execution Of ADD Command -


the question obvious specified in title. wonder this. expert can help?

ok, going long answer, long may write article instead. strangely enough, i've been working on experiments closely related question -- determining performance per watt modern processor. paul , sneftel indicated, it's not possible real architecture today. can compute if looking @ execution of instruction given silicon technology , alu design through calculating gate leakage , switching currents, voltages, etc. isn't useful value because there going on (from hw perspective) in processor newer 8086, , instructions haven't been executed in isolation since pipeline first came being.

today, have multi-function alus, out-of-order execution, multiple pipelines, hyperthreading, branch prediction, memory hierarchies, etc. have execution of 1 add command? energy used execute 1 add command different execution of multiple add commands. , if wrap program around it, gets complicated.

sort-of-an-answer:

so let's @ can do.

  • statistically measure running given add on , on again. remember there many different types of adds such integer adds, floating-point, double precision, adds carries, , simultaneous adds (simd) name few. limits: oss , other apps there, though may able run on bare metal if know how; varies different hardware, silicon technologies, architecture, etc; not useful because far reality means little; limits of measurement equipment (using interprocessor pmus, wall meters, interposer socket, etc); memory hierarchy; , more
  • statistically measuring integer/floating-point/double -based workload kernel. beginning have meaning because means community. limits: still not real; still varies architecture, silicon technology, hardware, etc; measuring equipment limits; etc
  • statistically measuring real application. limits: same above @ least means community; power states come play during periods of idle; potentially cluster issues come play.

when "limits", means need define constraints of answer / experiment, not isn't useful.

summary: possible come value 1 add doesn't mean anymore. value means way more complicated useful , requires lot of work find.

by way, think , important question -- in part because deceptively simple.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -