Re: lzo2 shows insane speed gap



Christian Weisgerber wrote:
My best guess at this time is that lzo2 somehow manages to induce
crazy cache thrashing on some CPU models.

Ideas and explanations welcome


Try running single command that is different on different machines under
valgrind (callgrind) on these machines and see that at least number of instructions
executed is the same.

Lzo2 documentation says that there are a lot of algorithms implemented.
It might be choosing the algorithm based on the CPU and the choice it's making might be bad.

Yuri
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Time this code, please!
    ... I don't own a set of machines with every x86 CPU ever made. ... between the three different algorithms remain unchanged. ... interrupts, the interruption is distributed across all the ... instructions will only have system processes affecting their results. ...
    (alt.lang.asm)
  • Re: Where is behavior AI now?
    ... Even a simple robot needs short-term memory, ... Complex but fixed reaction algorithms can work fine in one ... current behavior set is not meeting the goal, (aka learning of some type) ... It gives us insights into alternatives to how machines can be structured. ...
    (comp.robotics.misc)
  • Re: OT Registry cleaners
    ... single home built machines. ... type or off-lattice random walks in various dimensions. ... But understanding algorithms and understanding modern software ... some obvious brute force algorithms for generating random walks, ...
    (talk.origins)
  • Re: I need some guideance regarding parallel processing
    ... searching, range searching, associative searching and all the other ... getting good algorithms before you try to optimize things. ... What standard have you implemented to network machines together? ... What message passing standard do you use? ...
    (comp.lang.fortran)
  • Re: thread memory size
    ... Lock-free algorithms typically perform significantly ... He has tested it on other machines with other architectures as well, ... With the current interest in massively parallel systems, a lot of the best people in the world on concurrency are working on improving performance of concurrent algorithms. ...
    (comp.os.linux.development.system)