|
Message-ID: <4E2D9C89.1080003@quelrod.net> Date: Mon, 25 Jul 2011 11:40:41 -0500 From: James Nobis <quel@...lrod.net> To: john-users@...ts.openwall.com Subject: Re: 1.7.8 to jumbo2 speed regression for FreeBSD md5 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 >> john-1.7.8 >> Benchmarking: FreeBSD MD5 [32/64 X2]... DONE >> Raw: 14537 c/s real, 14566 c/s virtual >> >> john-1.7.8-jumbo2 >> Benchmarking: FreeBSD MD5 [8x]... DONE >> Raw: 6656 c/s real, 6656 c/s virtual > > I've revised the gcc version check in 1.7.8-jumbo-4 to only use the new > code with gcc 4.4+, assuming that your version of gcc is somewhere > between 4.0 and 4.3.x. Did this help? It's Debian Lenny (needs an upgrade to Squeeze) so yes it is 4.3.2. Benchmarking: FreeBSD MD5 [32/64 X2]... DONE Raw: 14302 c/s real, 14446 c/s virtual looks good > Ideally, we'd test all of: 4.0, 4.1, 4.2, 4.3, 4.4 to determine which is > the lowest gcc version number where the new code is beneficial... We > could have to do this on different CPUs, though. Recent Intel CPUs tend > to perform better at SSE2 than AMD's do, so the same version of gcc may > be good enough for Intel, but not good enough for AMD. > > With gcc 4.5.0, the SSE2 intrinsics code definitely performs faster for > me, but that's on Intel CPUs only (no AMDs here). gcc 4.5.x on Intel and AMD tends to generate faster code for me across a range of things. (Bootstrapped 4.5.3 on Debian Squeeze...think I had 1 lib I had to pull into the gcc tree to have it build all the optimization features.) James -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJOLZyJAAoJEGUWgJyjXssuJbgP/i0NQbmAsHs3uza0fW5wQ2uV YNEpRBJqet81K2Uz5EsKAPWUqHBMl8ixtJqOJvqlPoppoWVvBPAEAgPSQ+4uxCNM DiTvC2pBmDUJ6tT5jPsQNYcX81sFioQE7gdwxjr7sqSTPOwDs7MTTdap5D5F1cUh dgl1Ie2g1hg42iGVzn1w0R37f/yaIOTEXFzBDjey/Voqnh6gbyZTrZBofmh9ElL2 I+rwWdzfNtk0ehfPUDrP/VCg0MeIgeX8qRGKM5H91f9gqC8G+KQj1oGe/tLG9JWh duvTL9YT3eY2pBci6IDNTZLSekztVSPQF6ziPaBxDXnJu6j/Xr6rUlNxL2T+vrPK ++Y8c3KXxi24FZNfzz+W0Mt7KDws4UIudKhn+RLeD1uQcJ4GOHEyFNgHHlPLb45U 23qy7CYudstJ5Qjd/OKntRWjMXWQ4/Hi0fi1YcC5q8/p3homyek1sROPDsEd2hmG mTuqaEgN3zx7ZfLwC8MpIO7/bHt9JiKyWO23jGVUdVHX5CAghF6vvMzYXdWck9al gZOkYQC4Co9yvvLiJHtu1S2gNJ+aXiBsMvUGoIMrb/A1ZTwsz+YfjV0VYA0OZaJk UnGe1erdgpaxAFkygBxWQWTamnEwY+fbot50cjCThTA+KIO63UgTGUqHyIk02E3y 4HWaIPoybYMIL3J0SrJ0 =4RRo -----END PGP SIGNATURE-----
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.