Reduce RAM for NSD (authoritative name server)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
NSD on a Raspberry Pi uses ~130MB, sometimes more. I happen to have a chat with one of the NSD developers and he said that adding the compiler flags below would decrease memory usage. Performance impact on a Raspberry Pi would be minimal since NSD is already optimized for large queries and the hardware on a Raspberry Pi would never be able to reach the software bottleneck, the hardware just isn't powerful enough.
Below is what is in the debian/rules file and is used to compile NSD.
[code]
override_
[/code]
I would like to request the following flags as an addition to decrease the memory usage. I'll leave it at your discretion to implement this or not.
[code]
--disable-
--enable-packed Enable packed structure alignment, uses less memory,
[/code]