Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^7: Efficient bit-twiddling in Perl.

by salva (Canon)
on Mar 01, 2013 at 14:11 UTC ( [id://1021268]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Efficient bit-twiddling in Perl.
in thread Efficient bit-twiddling in Perl.

AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ (IIRC, this is a 2GHz processor)

Replies are listed 'Best First'.
Re^8: Efficient bit-twiddling in Perl.
by BrowserUk (Patriarch) on Mar 01, 2013 at 14:30 UTC
    (IIRC, this is a 2GHz processor)

    2.1GHz according to the web.

    Perhaps more interesting is that yours has 64KB each of L1 instruction and data cache versus mine's 32KB each. But mine has 4GB of L2 cache versus yours only 512KB L2.

    I've found it impossible to reason about the affects of caching, given the different sizes, n-way associations, and multiple levels. Bad enough with two, but now they are throwing (huge) L3 cahces into the mix as well. Not to mention hyperthreading where 1 hyperthread can utilise the core whilst the other hyperthread is waiting for a cache load.

    In the end, all you can do is measure on the hardware your using and accept that it might work completely differently on another machine. Or even on the same machine with a different mix of competing processes.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1021268]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-18 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found