Ah...Ce bine era!
Zilele cand era simplu: mai multi mhz == mai rapid...
Acum pot sa joc half-life 2, totusi! :)


On Wed, 12 Nov 2003, Codre Adrian wrote:

> raid5: using function: pIII_sse (1872.000 MB/sec)
> De ce se alege functia respectiva daca p5_mmx e mai rapida ?

----/usr/src/linux/drivers/md/xor.c:

        fastest = template_list;
        for (f = fastest; f; f = f->next)
                if (f->speed > fastest->speed)
                        fastest = f;

[..dar..]

#ifdef XOR_SELECT_TEMPLATE
        fastest = XOR_SELECT_TEMPLATE(fastest);
#endif

        active_template = fastest;



----/usr/src/linux/include/asm/xor.h:

/* We force the use of the SSE xor block because it can write around L2.
   We may also be able to load into the L1 only depending on how the cpu
   deals with a load to a line that is being prefetched.  */
#define XOR_SELECT_TEMPLATE(FASTEST) \
        (cpu_has_xmm ? &xor_block_pIII_sse : FASTEST)




-- neeraj at hamster dot eu dot org -- PGP key ID E5970845

Today's lecture is about outer space and how it will eventually
INPLODE IN ON ITSELF !


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui