Re: Cost of handling misaligned access

Liste des GroupesRevenir à c arch 
Sujet : Re: Cost of handling misaligned access
De : terje.mathisen (at) *nospam* tmsw.no (Terje Mathisen)
Groupes : comp.arch
Date : 07. Feb 2025, 11:06:43
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vo4lvl$3eu3c$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.20
Michael S wrote:
On Thu, 6 Feb 2025 21:36:38 +0100
Terje Mathisen <terje.mathisen@tmsw.no> wrote:
BTW, when I timed 1000 calls to that 5-6 us program, to get around
teh 100 ns timer resolution, each iteration ran in 5.23 us.
 That measurement could be good enough on desktop. Or not.
It certainly not good enough on laptop and even less so on server.
On laptop I wouldn't be sutisfied before I lok my program to
particualr core, then do something like 21 measurements with 100K calls
in each measurement (~10 sec total) and report median of 21.
Each measurement did 1000 calls, then I ran 100 such measurements. The 5.23 us value was the lowest seen among the 100, with average a bit more:
Slowest: 9205200 ns
Fastest: 5247500 ns
Average: 5672529 ns/iter
Part1 = 3338
My own (old, but somewhat kept up to date) cputype program reported that it is a "13th Gen Intel(R) Core(TM) i7-1365U" according to CPUID.
Is that sufficient to judge the performance?
Terje
--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Date Sujet#  Auteur
4 Feb 25 * Re: Cost of handling misaligned access40Anton Ertl
5 Feb 25 `* Re: Cost of handling misaligned access39Terje Mathisen
5 Feb 25  +* Re: Cost of handling misaligned access4Anton Ertl
5 Feb 25  i+* Re: Cost of handling misaligned access2Terje Mathisen
6 Feb 25  ii`- Re: Cost of handling misaligned access1Anton Ertl
6 Feb 25  i`- Re: Cost of handling misaligned access1Anton Ertl
5 Feb 25  `* Re: Cost of handling misaligned access34Michael S
6 Feb 25   +* Re: Cost of handling misaligned access32Anton Ertl
6 Feb 25   i`* Re: Cost of handling misaligned access31Michael S
6 Feb 25   i +* Re: Cost of handling misaligned access2Anton Ertl
6 Feb 25   i i`- Re: Cost of handling misaligned access1Michael S
6 Feb 25   i `* Re: Cost of handling misaligned access28Terje Mathisen
6 Feb 25   i  `* Re: Cost of handling misaligned access27Terje Mathisen
6 Feb 25   i   `* Re: Cost of handling misaligned access26Michael S
6 Feb 25   i    `* Re: Cost of handling misaligned access25Terje Mathisen
6 Feb 25   i     +* Re: Cost of handling misaligned access19Michael S
7 Feb 25   i     i`* Re: Cost of handling misaligned access18Terje Mathisen
7 Feb 25   i     i `* Re: Cost of handling misaligned access17Michael S
7 Feb 25   i     i  `* Re: Cost of handling misaligned access16Terje Mathisen
7 Feb 25   i     i   `* Re: Cost of handling misaligned access15Michael S
7 Feb 25   i     i    +- Re: Cost of handling misaligned access1Terje Mathisen
7 Feb 25   i     i    +* Re: Cost of handling misaligned access3MitchAlsup1
8 Feb 25   i     i    i+- Re: Cost of handling misaligned access1Terje Mathisen
8 Feb 25   i     i    i`- Re: Cost of handling misaligned access1Michael S
8 Feb 25   i     i    `* Re: Cost of handling misaligned access10Anton Ertl
8 Feb 25   i     i     +- Re: Cost of handling misaligned access1Terje Mathisen
8 Feb 25   i     i     +* Re: Cost of handling misaligned access6Michael S
8 Feb 25   i     i     i`* Re: Cost of handling misaligned access5Anton Ertl
8 Feb 25   i     i     i +- Re: Cost of handling misaligned access1Michael S
9 Feb 25   i     i     i +* Re: Cost of handling misaligned access2Michael S
11 Feb 25   i     i     i i`- Re: Cost of handling misaligned access1Michael S
9 Feb 25   i     i     i `- Re: Cost of handling misaligned access1Michael S
9 Feb 25   i     i     +- Re: Cost of handling misaligned access1Michael S
10 Feb 25   i     i     `- Re: Cost of handling misaligned access1Michael S
7 Feb 25   i     `* Re: Cost of handling misaligned access5BGB
7 Feb 25   i      `* Re: Cost of handling misaligned access4MitchAlsup1
7 Feb 25   i       `* Re: Cost of handling misaligned access3BGB
8 Feb 25   i        `* Re: Cost of handling misaligned access2Anssi Saari
8 Feb 25   i         `- Re: Cost of handling misaligned access1BGB
6 Feb 25   `- Re: Cost of handling misaligned access1Terje Mathisen

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal