Re: dev_lock() contention for fdesc syscalls -- possible fix

2014-11-10 Thread Konstantin Belousov
On Mon, Nov 10, 2014 at 02:49:39AM +0100, Luigi Rizzo wrote: It was noticed that there is huge dev_lock() contention when multiple processes do a poll() even on independent file descriptors. Turns out that not just poll but most syscalls on file descriptors (as opposed to sockets) in

Re: dev_lock() contention for fdesc syscalls -- possible fix

2014-11-10 Thread Luigi Rizzo
On Mon, Nov 10, 2014 at 10:34:57AM +0200, Konstantin Belousov wrote: On Mon, Nov 10, 2014 at 02:49:39AM +0100, Luigi Rizzo wrote: It was noticed that there is huge dev_lock() contention when multiple processes do a poll() even on independent file descriptors. Turns out that not just poll

Re: dev_lock() contention for fdesc syscalls -- possible fix

2014-11-10 Thread Konstantin Belousov
On Mon, Nov 10, 2014 at 10:44:12AM +0100, Luigi Rizzo wrote: On Mon, Nov 10, 2014 at 10:34:57AM +0200, Konstantin Belousov wrote: On Mon, Nov 10, 2014 at 02:49:39AM +0100, Luigi Rizzo wrote: It was noticed that there is huge dev_lock() contention when multiple processes do a poll() even

Re: FreeBSD + Google Code-In 2014 = we need ideas.

2014-11-10 Thread k simon
Hello, List, 2 ideas: 1. port DFBSD's CAM DA driver It's doing much better than FB in heavy load with random IO, eg. squid or postgres databases for zabbix 1.8. It's released within DFBSD V2.10 CAM DA driver enhanced to separate read and write streams, allowing concurrent write completion

Re: FreeBSD + Google Code-In 2014 = we need ideas.

2014-11-10 Thread Kurt Jaeger
Hi! 2 ideas: 1. port DFBSD's CAM DA driver [...] Maybe I'm showing my age here, but Code-In is for school kids aged 13-17, and in my time, there were very few kids at that task level 8-} -- p...@opsec.eu+49 171 3101372 6 years to go !

samba/NSSWITCH interaction in fbsd 10 vs fbsd 8

2014-11-10 Thread Julian Elischer
When I try use the libnss_winbind.so that is generated by samba 3.6 I get the following message: NSSWITCH(nss_load_module): winbind, Undefined symbol nss_module_register. First I have to change its' name to nss_winbins.so.1 however because that is what nsswitch is looking for (BTW

Changing timezone without reboot/restarting each service?

2014-11-10 Thread Lev Serebryakov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 After changing timezones in Russia (with replacing /etc/localtime with new file), I found that cron works in old timezone till restart. And all other services do the same, but cron is most obvious here :) Looks like libc reads timezone only once

Changing timezone without reboot/restarting each service?

2014-11-10 Thread Lev Serebryakov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 After changing timezones in Russia (with replacing /etc/localtime with new file), I found that cron works in old timezone till restart. And all other services do the same, but cron is most obvious here :) Looks like libc reads timezone only once

MK_ vs. WITH_/WITHOUT_ in release/Makefile

2014-11-10 Thread Rick Miller
Hi all, release/Makefile in CURRENT utilizes MK_* knobs vs. the WITH_/WITHOUT_* knobs seen in release/Makefile in the STABLE/RELEASE branches. Merging a CURRENT version of the Makefile into a RELEASE branch and executing a release build results in an error citing MK_KERNEL_SYMBOLS can't be set

Re: MK_ vs. WITH_/WITHOUT_ in release/Makefile

2014-11-10 Thread Glen Barber
On Mon, Nov 10, 2014 at 09:38:08AM -0500, Rick Miller wrote: Hi all, release/Makefile in CURRENT utilizes MK_* knobs vs. the WITH_/WITHOUT_* knobs seen in release/Makefile in the STABLE/RELEASE branches. Merging a CURRENT version of the Makefile into a RELEASE branch and executing a

What's the least required in base to be functional?

2014-11-10 Thread Chris H
Apologies. That may not have been the best choice of titles. What I'm trying to determine, is what is the very least I will require in base, to actually build a userland build environment. NOTE; this all concerns -CURRENT (recent 11). Point being, while I recognize that clang/llvm is the default

Re: What's the least required in base to be functional?

2014-11-10 Thread Dimitry Andric
On 10 Nov 2014, at 19:54, Chris H bsd-li...@bsdforge.com wrote: Apologies. That may not have been the best choice of titles. What I'm trying to determine, is what is the very least I will require in base, to actually build a userland build environment. NOTE; this all concerns -CURRENT

Re: MK_ vs. WITH_/WITHOUT_ in release/Makefile

2014-11-10 Thread Scot Hetzel
On Mon, Nov 10, 2014 at 8:38 AM, Rick Miller vmil...@hostileadmin.com wrote: Hi all, release/Makefile in CURRENT utilizes MK_* knobs vs. the WITH_/WITHOUT_* knobs seen in release/Makefile in the STABLE/RELEASE branches. Merging a CURRENT version of the Makefile into a RELEASE branch and

Re: What's the least required in base to be functional?

2014-11-10 Thread Chris H
On Mon, 10 Nov 2014 20:28:00 +0100 Dimitry Andric d...@freebsd.org wrote On 10 Nov 2014, at 19:54, Chris H bsd-li...@bsdforge.com wrote: Apologies. That may not have been the best choice of titles. What I'm trying to determine, is what is the very least I will require in base, to

Re: What's the least required in base to be functional?

2014-11-10 Thread Dimitry Andric
On 10 Nov 2014, at 21:04, Chris H bsd-li...@bsdforge.com wrote: On Mon, 10 Nov 2014 20:28:00 +0100 Dimitry Andric d...@freebsd.org wrote ... Note that you can delete WITHOUT_CLANG from your make.conf, just like other WITH_ and WITHOUT_ settings. These only belong in src.conf. -Dimitry

Re: What's the least required in base to be functional?

2014-11-10 Thread Chris H
On Mon, 10 Nov 2014 21:16:46 +0100 Dimitry Andric d...@freebsd.org wrote On 10 Nov 2014, at 21:04, Chris H bsd-li...@bsdforge.com wrote: On Mon, 10 Nov 2014 20:28:00 +0100 Dimitry Andric d...@freebsd.org wrote ... Note that you can delete WITHOUT_CLANG from your make.conf, just like

Re: FreeBSD + Google Code-In 2014 = we need ideas.

2014-11-10 Thread Alan Somers
On Sun, Nov 9, 2014 at 8:59 PM, Wojciech A. Koszek wkos...@freebsd.org wrote: Hello, This year we'd like to participate in the Google Code-In 2014. This is Google Summer of Code, but for younger people: age range is 13--17. If you're one of them, we highly encourage you to apply! ***This

Re: FreeBSD + Google Code-In 2014 = we need ideas.

2014-11-10 Thread Wojciech A. Koszek
On Mon, Nov 10, 2014 at 01:56:27PM -0700, Alan Somers wrote: On Sun, Nov 9, 2014 at 8:59 PM, Wojciech A. Koszek wkos...@freebsd.org wrote: Hello, This year we'd like to participate in the Google Code-In 2014. This is Google Summer of Code, but for younger people: age range is 13--17. If

Unable to build world w/o clang on 11

2014-11-10 Thread Chris H
Greetings, I'm attempting to build/install world/kernel on a fresh install of 11 on bare metal, from the bootonly iso from 10-26. I understand that clang is the default for 10+. But had hoped to install it from ports *after* kernel/world. I used what I *thought* was the correct direction to do

HEADS-UP: amd64 UEFI boot is broken

2014-11-10 Thread Ed Maste
UEFI booting is broken for amd64 as of r273582 (Oct 24). The symptom is an apparent hang after the loader transfers control to the kernel (no output from the kernel is observed). Until this is addressed you can checkout an earlier revision or revert r273582 locally. -Ed

Re: Unable to build world w/o clang on 11

2014-11-10 Thread Chris H
On Mon, 10 Nov 2014 16:54:52 -0800 Chris H bsd-li...@bsdforge.com wrote Greetings, I'm attempting to build/install world/kernel on a fresh install of 11 on bare metal, from the bootonly iso from 10-26. I understand that clang is the default for 10+. But had hoped to install it from ports

Re: Unable to build world w/o clang on 11

2014-11-10 Thread Steve Kargl
On Mon, Nov 10, 2014 at 06:37:35PM -0800, Chris H wrote: === lib/libdpv (depend) rm -f .depend CC='cc ' mkdep -f .depend -a-I/usr/src/lib/libdpv -std=gnu99 /usr/src/lib /libdpv/dialog_util.c /usr/src/lib/libdpv/dialogrc.c /usr/src/lib/libdpv/dprompt c /usr/src/lib/libdpv/dpv.c

Re: Changing timezone without reboot/restarting each service?

2014-11-10 Thread Mark Felder
On Mon, Nov 10, 2014, at 06:36, Lev Serebryakov wrote: After changing timezones in Russia (with replacing /etc/localtime with new file), I found that cron works in old timezone till restart. And all other services do the same, but cron is most obvious here :) Looks like libc reads

Re: Changing timezone without reboot/restarting each service?

2014-11-10 Thread Allan Jude
On 2014-11-10 22:28, Mark Felder wrote: On Mon, Nov 10, 2014, at 06:36, Lev Serebryakov wrote: After changing timezones in Russia (with replacing /etc/localtime with new file), I found that cron works in old timezone till restart. And all other services do the same, but cron is most

Re: Unable to build world w/o clang on 11

2014-11-10 Thread Chris H
On Mon, 10 Nov 2014 19:22:31 -0800 Steve Kargl s...@troutmask.apl.washington.edu wrote On Mon, Nov 10, 2014 at 06:37:35PM -0800, Chris H wrote: === lib/libdpv (depend) rm -f .depend CC='cc ' mkdep -f .depend -a-I/usr/src/lib/libdpv -std=gnu99 /usr/src/lib /libdpv/dialog_util.c