lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK1hOcMOOhyrBXYv9msCNGoWTTOLKAbwKzP3Tn6G57Ldk8M9Sw@mail.gmail.com>
Date:	Thu, 29 Mar 2012 12:33:44 +0200
From:	Denys Vlasenko <vda.linux@...glemail.com>
To:	roma1390 <roma1390@...il.com>
Cc:	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	Douglas W Jones <jones@...uiowa.edu>,
	Michal Nazarewicz <mnazarewicz@...gle.com>
Subject: Re: [PATCH 0/1] vsprintf: optimize decimal conversion (again)

On Thu, Mar 29, 2012 at 7:23 AM, roma1390 <roma1390@...il.com> wrote:
> On 2012.03.28 14:23, Denys Vlasenko wrote:
>>
>> It looks ok - it is a bit faster that original code;
>> but I expect algorithm #2 will do better.
>>
>> BTW, please always run test of original code too when you measure speed,
>> and post both results.
>
>
> And the test results are:
>
> ./test_new-org-with-noinline_for_stack
> Conversions per second: 8:5188000 123:4340000 123456:3536000
> 12345678:3164000 123456789:2036000 2^32:2032000 2^64:1544000
> Conversions per second: 8:5016000 123:4320000 123456:3536000
> 12345678:3272000 123456789:2032000 2^32:1964000 2^64:1540000
> Conversions per second: 8:5192000 123:4336000 123456:3420000
> 12345678:3268000 123456789:2036000 2^32:2032000 2^64:1544000
> Conversions per second: 8:5164000 123:4336000 123456:3536000
> 12345678:3272000 123456789:1968000 2^32:2032000 2^64:1544000
> Tested 524288                               ^C
>
> # ./test_new-org-with-noinline_for_stack_if-LONG_MAX_header_arm
> Conversions per second: 8:5020000 123:4332000 123456:3536000
> 12345678:3272000 123456789:2828000 2^32:2260000 2^64:1536000
> Conversions per second: 8:5192000 123:4332000 123456:3416000
> 12345678:3252000 123456789:2828000 2^32:2336000 2^64:1540000
> Conversions per second: 8:5172000 123:4336000 123456:3540000
> 12345678:3272000 123456789:2736000 2^32:2336000 2^64:1536000
> Conversions per second: 8:5192000 123:4192000 123456:3520000
> 12345678:3276000 123456789:2828000 2^32:2340000 2^64:1484000
> Tested 524288                               ^C

Thanks! They look good now.

-- 
vda
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ