what is the best of operating system for gmp

Jerome BENOIT sphericaltriangle at rezozer.net
Thu May 25 07:48:41 UTC 2017


Hi,

you want to favour a Debian based operating system: either Debian itself or Ubuntu.

If your box is mainly a number-cruncher, you want to play with a server.

My 2 cents,
Jerome 
(Debian Developer)

On 25/05/17 07:56, Hasan Baseri wrote:
> thank you for reading last email.
> 
> please identify which operating system is best one for using GMP?
> Debian desktop
> Debian server
> Ubuntu desktop
> Ubuntu server
> Linux red hat
> or any operating system that you suggest.
> 
> On 5/25/17, David M. Warme <David at warme.net> wrote:
>>> Just CPU type and CPU clock frequency.  RAM speed is irrelevant for most
>>> GMP computations (it becomes relevant only if you primarily juggle
>>> operands of many millions of bits).
>>
>> RAM speed can also matter for far smaller operands -- if you have many
>> millions of them organized into vectors or arrays, or if they are
>> spread throughout the address space.  This is particularly true if
>> you access them in patterns that cause frequent cache misses.  Once
>> the operand is loaded into cache, CPU-only-based performance resumes.
>>
>> I have observed empirically over the years an apparent assumption or
>> bias among GMP developers that GMP applications never contain more than
>> a few dozen GMP variables.  This is a false assumption.  Your application
>> (and your mileage) may vary.
>>
>>> Any BSD or GNU/Linux will perform within a percent of each other for GMP.
>>
>> I agree.  Plus or minus 1% for same hardware, different BSD or GNU/Linux.
>>
>>
>> On 05/24/2017 05:11 PM, Torbjörn Granlund wrote:
>>> Hasan Baseri <baseri.edu at gmail.com> writes:
>>>
>>>    i know the CPU frequency and RAM speed is very important.
>>>
>>> Just CPU type and CPU clock frequency.  RAM speed is irrelevant for most
>>> GMP computations (it becomes relevant only if you primarily juggle
>>> operands of many millions of bits).
>>>
>>> Make sure to build GMP on the machine where you will run it (or else
>>> manually configure it for the target CPU).  Please see the manual for
>>> more on this.
>>>
>>> You might want to take a look at https://gmplib.org/gmpbench.html if you
>>> intend to purchase hardware specifically for GMP.  Note that the first
>>> table's measurements are for dev versions of GMP, the subsequent tables
>>> are for quite old releases.
>>>
>>> Note that GMP only runs on a single CPU core.  You need to invoke GMP
>>> from many threads or processes in order to use multiple CPU cores.
>>>
>>>    if i want to install a operating system for using gmp, which one you
>>> suggest?
>>>
>>> Any BSD or GNU/Linux will perform within a percent of each other for GMP.
>>>
>>>
>>
>>
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-discuss
> 


More information about the gmp-discuss mailing list