Python Memory Manager

M

MartinRinehart

Paul said:
repz movsw is a pretty lame way to copy data on current x86's.
Use XMM instead.

Thank you, Paul. I'm pretty sure you meant MMX, Multi-Media
eXtensions.

Paul's just told me to upgrade my 32-bit thinking to use newer 64-bit
registers, even on a 32-bit cpu. Please divide my prior timings by
two.
Pentium or later required.
 
P

Paul Rubin

Thank you, Paul. I'm pretty sure you meant MMX, Multi-Media eXtensions.

MMX is the obsolete 64 bit predecessor to XMM. XMM encompasses 128
bit wide MMX-like integer instructions and several generations of SSE
floating point ops. Main thing about it is that it's 128 bits wide
and has instructions to get cache prefetches started now if you'll
need them later.
 
R

Ross Ridge

20 MBs = 5 M 32-bit words = 1.25 millis to move half of them on a
2GHz machine. Don't know how much a milli costs where you live.

A 2GHz machine doesn't have 20Mb of 2GHz memory. You made the mistake
of measuring the speed of processor's cache, rather than the RAM.

Ross Ridge
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top