On 01/12/2020 12:28, Martin Gregorie wrote:
> On Tue, 01 Dec 2020 11:36:59 +0100, A. Dumas wrote:
>
>> On 01-12-2020 11:30, A. Dumas wrote:
>>> $ time /usr/bin/factor 1234567890123456789012345678901
>>> 1234567890123456789012345678901: 7742394596501 159455563099482401
>>>
>>> real 0m2,086s user 0m2,075s sys 0m0,011s
>>
>> My 7 year old iMac (3.2 GHz quad i5) is only about 8x as fast:
>>
>> $ time gfactor 1234567890123456789012345678901
>> 1234567890123456789012345678901: 7742394596501 159455563099482401
>>
>> real 0m0,257s user 0m0,248s sys 0m0,004s
>>
>> (installed via MacPorts, then 'sudo port install coreutils')
>
> Interesting: for exactly the same number to be factored I see:
>
> System Real User Sys CPU
> ======
> Lenovo T420 0.254s 0,252s 0.002s 1.9GHz Core i5
> Lenovo R61i 0.702s 0.693s 0.006s 1.6GHz Core Duo
> Whitebox PC 0.321s 0.314s 0.004s 1.0GHz AMC Dual Athlon
> RPI 2B 21.995s 11.496s 0.040s
>
> I'd been wondering whether an RP14B would be a good replacement for the
> old AMD whitebox, but it looks as if a some sort of mini-ITX system would
> be a better bet because I do all backups via rsync to a removable USB
> drive connected to the old AMD system, and to do what I need it to do, a
> replacement would need a minimum of 4 USB ports plus SATA and a VGA-
> capable display port.
>
> Thanks for posting those numbers, though - doing so gave me the kick
> needed to compare those speeds.
>
>
>
I cant get near those
Pi zero
--------
$time factor 1234567890123456789012345678901
1234567890123456789012345678901: 7742394596501 159455563099482401
real 0m9.186s
user 0m9.156s
sys 0m0.013s
Shonky old pentium used as server
---------------------------------
$time factor 1234567890123456789012345678901
1234567890123456789012345678901: 7742394596501 159455563099482401
real 0m0.452s
user 0m0.440s
sys 0m0.000s
quad core desktop
-----------------
$time factor 1234567890123456789012345678901
1234567890123456789012345678901: 7742394596501 159455563099482401
real 0m0.224s
user 0m0.220s
sys 0m0.000s
But on most CPU intensive tasks the desktop is 4x faster than the server.
Compiling on the zero did however take about 20 times as long....
--
It’s easier to fool people than to convince them that they have been fooled.
Mark Twain
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|