Re: zfs listing and CPU

2017-08-13 Thread Eugene M. Zheganin
Hi, On 12.08.2017 20:50, Paul Kraus wrote: On Aug 11, 2017, at 2:28 AM, Eugene M. Zheganin wrote: Why does the zfs listing eat so much of the CPU ? 47114 root 1 200 40432K 3840K db->db 4 0:05 26.84% zfs 47099 root 1 200 40432K 3840K zio->i 17 0:05 26.83% zf

Re: zfs listing and CPU

2017-08-13 Thread Tenzin Lhakhang
You may want to have an async zfs-get program/script that regularly does a zfs get -Ho and stores then in a local cache (redis or your own program) at a set interval and then the api can hit the cache instead of directly running get or list. - Some silly person will try to benchmark your zfs web-AP

Error in 'make buildworld' on 10.3

2017-08-13 Thread Aijaz Baig
I am trying to buildworld on 10.3 and I encounter an error: --- _worldtmp --- -- >>> Rebuilding the temporary build tree -- rm -rf /mnt/ObjDir/usr/src/tmp rm -rf /mnt/ObjDir/usr/

Re: zfs listing and CPU

2017-08-13 Thread Eugene M. Zheganin
On 13.08.2017 16:13, Tenzin Lhakhang wrote: You may want to have an async zfs-get program/script that regularly does a zfs get -Ho and stores then in a local cache (redis or your own program) at a set interval and then the api can hit the cache instead of directly running get or list. I cannot

UNAME_r () and OSVERSION (1101501) do not agree on major version number , which poudriere bulk rejects as a combination.

2017-08-13 Thread Mark Millard
The summary: My attempts to use poudriere-devel via a -m null -M /usr/obj/DESTDIRs/FBSDx6411SL-installworld-dist-from-src based jail and a -m null -M /usr/ports based ports got: make: "/usr/ports/Mk/bsd.port.mk" line 1177: UNAME_r () and OSVERSION (1101501) do not agree on major version number.

TSC timekeeping and cpu states

2017-08-13 Thread Aristedes Maniatis
I note that in FreeBSD 11, we now have this: # grep performance_cx_lowest /etc/defaults/rc.conf performance_cx_lowest="C2" # Online CPU idle state However this wiki page suggests that C1 is the default https://wiki.freebsd.org/TuningPowerConsumption Are these inconsistent? I wen

Re: TSC timekeeping and cpu states

2017-08-13 Thread Kevin Oberman
On Sun, Aug 13, 2017 at 8:25 PM, Aristedes Maniatis wrote: > I note that in FreeBSD 11, we now have this: > > # grep performance_cx_lowest /etc/defaults/rc.conf > performance_cx_lowest="C2" # Online CPU idle state > > However this wiki page suggests that C1 is the default > > https:/