in a set and forget set-up system preferences should not play any role imo.
I dont like to use BSD in my day to day work but for setting up a file server it is pretty good as it draws next to no idle power.
I think the op is asking if linux would give better hash rates than windows. Also if a non gui linux distro would give better hash rate than a gui dristro.