Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-18 Thread Kevin Oberman
On Fri, Aug 17, 2012 at 3:23 PM, Ian Lepore free...@damnhippie.dyndns.org wrote: On Fri, 2012-08-17 at 14:29 -0700, Kevin Oberman wrote: On Fri, Aug 17, 2012 at 10:11 AM, Ian Lepore No! Not bde! He'll notice that I violated style(9) by accidentally leaving an extra blank line between a

Re: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-18 Thread O. Hartmann
Am 08/16/12 21:44, schrieb Garrett Cooper: On Thu, Aug 16, 2012 at 8:33 AM, Hartmann, O. ohart...@zedat.fu-berlin.de wrote: I ran into a very delicate and nasty situation. ... On both FBSD 10 boxes, the installation of the port security/cyrus-sasl2 got corrupted by install and/or mtree

OpenLDAP/SASL2 problem in FreeBSD 10.0-CURRENT WAS: Re: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-18 Thread O. Hartmann
As I reported in my previous help request, I discovered on ALL(!) of my FreeBSD 10.0-CURRENT box a very strange problem. Attached, you'll find /etc/src.conf - which might give hints what I'm doing wrong. Another issue might be pkg(ng), I changed to that recently (a week ago), but had no problems

Re: Time to bump default VM_SWZONE_SIZE_MAX?

2012-08-18 Thread John Baldwin
On Tuesday, August 14, 2012 02:47:47 AM Dag-Erling Smørgrav wrote: Colin Percival cperc...@freebsd.org writes: If I'm understanding things correctly, the maxswzone value -- set by the kern.maxswzone loader tunable or to VM_SWZONE_SIZE_MAX by default -- should be approximately 9 MiB per GiB

Re: panic: page fault

2012-08-18 Thread John Baldwin
On Tuesday, August 14, 2012 05:29:09 AM Ivan Klymenko wrote: http://privatepaste.com/147286442b It is easier to reply if the messages are inline (for future reference). The panic and relevant bit of backtrace are below. Sadly, trying to cut and paste this destroyed the formatting, so I've

kernel page fult for a valid pointer?

2012-08-18 Thread Monthadar Al Jaberi
Hi, I am wondering is there a reason for getting Fatal trap 12: page fault while in kernel mode supervisor read, page not present for an address used to be valid in kernel space? I dont really understand why I am getting this, I added a hardware watchpoint on the address, and when I got to the

Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-18 Thread Lev Serebryakov
Hello, Ian. You wrote 17 августа 2012 г., 18:56:33: IL That result actually matches my expectation... it fixed only a part of IL your problem. I was (partly) wrong :( Under ``really high'' load (4MiB/s up/down load in same time) userland freezes again. Unfortunately, it is difficult to

Re: OpenLDAP/SASL2 problem in FreeBSD 10.0-CURRENT WAS: Re: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-18 Thread Adam McDougall
On 8/18/2012 4:07 AM, O. Hartmann wrote: My setups on all boxes using OpenLDAP, the port net/opendldap24-client/server has security/cyrus-sasl2 enabled. I use nsswitch and nascd. The problem: I can not anymore install or reinstall (using portmaster, patched for pkgng) the ports

BUFSIZ = 1024, still ?

2012-08-18 Thread Poul-Henning Kamp
Shouldn't we at least increase it to pagesize ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.

Re: BUFSIZ = 1024, still ?

2012-08-18 Thread Matthew Jacob
On 8/18/2012 1:32 PM, Poul-Henning Kamp wrote: Shouldn't we at least increase it to pagesize ? What data suggests to you it would be better at pagesize? ___ freebsd-current@freebsd.org mailing list

Re: BUFSIZ = 1024, still ?

2012-08-18 Thread Poul-Henning Kamp
In message 5030033b.4060...@feral.com, Matthew Jacob writes: On 8/18/2012 1:32 PM, Poul-Henning Kamp wrote: Shouldn't we at least increase it to pagesize ? What data suggests to you it would be better at pagesize? The number of system calls to fwrite() a big file ? What evidence would there be

Re: BUFSIZ = 1024, still ?

2012-08-18 Thread Matthew Jacob
On 8/18/2012 2:05 PM, Poul-Henning Kamp wrote: In message 5030033b.4060...@feral.com, Matthew Jacob writes: On 8/18/2012 1:32 PM, Poul-Henning Kamp wrote: Shouldn't we at least increase it to pagesize ? What data suggests to you it would be better at pagesize? The number of system calls to

Re: BUFSIZ = 1024, still ?

2012-08-18 Thread Poul-Henning Kamp
In message 50300540.9060...@feral.com, Matthew Jacob writes: [...] that there might be a measurable difference for having to copy 4K (unaligned) than 1K (unaligned) to kernel space for disposition. Actually, as far as I'm aware, the 4K would be page-aligned by default due to our malloc(3)

Re: BUFSIZ = 1024, still ?

2012-08-18 Thread Matthew Jacob
On 8/18/2012 2:36 PM, Poul-Henning Kamp wrote: In message 50300540.9060...@feral.com, Matthew Jacob writes: [...] that there might be a measurable difference for having to copy 4K (unaligned) than 1K (unaligned) to kernel space for disposition. Actually, as far as I'm aware, the 4K would be