Page 1 of 1

WITNESS options enabled in kernel

Posted: Thu Apr 25, 2019 3:00 pm
by aht0
I noticed stuff like
#0 0xffffffff80c81903 at witness_debugger+0x73
#1 0xffffffff80c81653 at witness_checkorder+0xac3
#0 0xffffffff80c81903 at witness_debugger+0x73
#1 0xffffffff80c81653 at witness_checkorder+0xac3
#0 0xffffffff80c81903 at witness_debugger+0x73
#1 0xffffffff80c81653 at witness_checkorder+0xac3
#0 0xffffffff80c81903 at witness_debugger+0x73
#1 0xffffffff80c81653 at witness_checkorder+0xac3
#0 0xffffffff80c81903 at witness_debugger+0x73
#1 0xffffffff80c81653 at witness_checkorder+0xac3
visible in dmesg. Upon downloading sources from github and checking, it appears that indeed some WITNESS options are enabled in kernel config by default.

Could these options be turned off in future kernel updates? It means noticeable performance degradation for GhostBSD users. It's AFAIK something used in CURRENT branch, aiding devs in debugging and never present in STABLE or RELEASE versions of FreeBSD.

At the moment I went and just re-compiled kernel for myself though some of it can AFAIK be turned off by sysctl

Re: WITNESS options enabled in kernel

Posted: Tue May 07, 2019 4:56 pm
by ericbsd
Here are the changes https://github.com/ghostbsd/trueos/comp ... 7acac2e359. There will be an update in one or two weeks from here or maybe sooner.

Thanks

Re: WITNESS options enabled in kernel

Posted: Wed May 15, 2019 3:45 am
by aht0
Understood :)