[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    Re: [Nix-dev] The Church of Suckless NixOS is looking for followers
From:       Alexey Shmalko <rasen.dubi () gmail ! com>
Date:       2017-03-21 10:52:26
Message-ID: 85fui6j40l.fsf () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Eelco Dolstra <eelco.dolstra@logicblox.com> writes:

> Hi,
>
> On 03/19/2017 12:10 PM, Jan Malakhovski wrote:
>
>> William Casarin <bill@casarin.me> writes:
>> 
>>> I tried to run NixOS on my eeepc, it feels a lot more sluggish than when
>>> I used to run arch on it. I would love to see how this plays out, if
>>> only to have
>>> a smaller, lightweight version of NixOS to run on my pi's and eeepc.
>> 
>> For eeePC try disabling hardening. Seriously. 
>
> Hm, I wasn't aware hardening has a significant performance impact. Do you have
> more info on that?

Basically, most of hardening is inserting runtime checks into
application. (e.g., inserting buffer overflow checks.) So it takes some
additional CPU cycles to check.

Some hardenings also insert additional values on stack (e.g., canaries),
so application consumes more memory.

I could say, on modern desktop computers the performance penalty is
neglectable, but there are old hardware (where software is sluggish
already), embedde devices, and various cases when "performance matters."

["signature.asc" (application/pgp-signature)]

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic