Deprecate the "masterfile-format map" zone file format in 9.16
Configuration option masterfile-format map
is complex and thus fragile (e.g. #2872 (closed), #2878 (closed)).
Currently benchmarks do not show significant benefit when compared to masterfile-format raw
.
net.
zone
Tests on real Zone serial 1629331223, obtained from czds.icann.org.
format | load time [s] | % of text time |
---|---|---|
map | 17,4 | 25 % |
raw | 28,4 | 40 % |
text | 70,8 | 100 % |
File size comparison:
format | size | N- of text size |
---|---|---|
map | 4880695376 | 5,1 |
raw | 1509720581 | 1,6 |
text | 960525608 | 1,0 |
Tests on an artificial flat zone
Zone generated by:
perl bin/tests/startperf/mkzonefile.pl test 34674952 > /tmp/text
format | load time [s] | % of text time |
---|---|---|
map | 36 | 25 % |
raw | 48 | 34 % |
text | 144 | 100 % |
File size comparison:
format | size | N- of text size |
---|---|---|
map | 9430522392 | 9,8 |
raw | 1386860577 | 1,4 |
text | 960521110 | 1,0 |
Summary
Speedup provided by the map
format does not seem significant enough to warrant the complexity of map format, especially when we take into account that the difference measured in terms of "real time" is in order of 10s of seconds.
Maybe we should mark it as deprecated in ~v9.17 & v9.18 and remove remove it in v9.19 timeframe.
Edited by Michał Kępień