On this -lightly loaded- machine a second lasts two or three seconds

2014-10-28 Thread Abel Abraham Camarillo Ojeda
$ while sleep 1; do date; done Tue Oct 28 04:34:04 CST 2014 Tue Oct 28 04:34:06 CST 2014 Tue Oct 28 04:34:08 CST 2014 Tue Oct 28 04:34:11 CST 2014 Tue Oct 28 04:34:13 CST 2014 Tue Oct 28 04:34:15 CST 2014 Tue Oct 28 04:34:17 CST 2014 Tue Oct 28 04:34:20 CST 2014 Tue Oct 28 04:34:22 CST 2014 Tue

Should we allow to configure twice the same IP?

2014-10-28 Thread Martin Pieuchot
There's nothing that prevent you to configure the same IPv4 address on different interfaces in the same routing domain. But does it make sense? Index: netinet/in.c === RCS file: /home/ncvs/src/sys/netinet/in.c,v retrieving revision

Re: More than just rtalloc1() - rtalloc(9) + man

2014-10-28 Thread Martin Pieuchot
On 15/10/14(Wed) 14:20, Martin Pieuchot wrote: So I'd appreciates some eyes on the diff below that touches all the existing rtalloc1() queries. The main change is indeed a rename to finally come back to a function with a sexy name introduced in 4.2BSD but with more goodies: rtalloc(9).

Re: On this -lightly loaded- machine a second lasts two or three seconds

2014-10-28 Thread Otto Moerbeek
On Tue, Oct 28, 2014 at 04:42:55AM -0600, Abel Abraham Camarillo Ojeda wrote: $ while sleep 1; do date; done Tue Oct 28 04:34:04 CST 2014 Tue Oct 28 04:34:06 CST 2014 Tue Oct 28 04:34:08 CST 2014 Tue Oct 28 04:34:11 CST 2014 Tue Oct 28 04:34:13 CST 2014 Tue Oct 28 04:34:15 CST 2014 Tue

Re: On this -lightly loaded- machine a second lasts two or three seconds

2014-10-28 Thread Stuart Henderson
dmesg: OpenBSD 5.2 (GENERIC.MP) #368: Wed Aug 1 10:04:49 MDT 2012 Unsupported, upgrade and check again. -Otto If there are still problems after upgrading, show output of sysctl kern.timecounter.

wrong mac address used with carp and unnumbered carpdevs

2014-10-28 Thread Henning Brauer
so, carp interface with underlaying unnumbered carpdev, i. e. ifconfig em1 up ifconfig carp0 carpdev em1 vhid 0 ... 10.0.0.1/24 carp announcements and some stuff like arp goes out with the carp interface mac address, fine. however, IP traffic goes out with the carpdev's mac, which is wrong and

Re: Should we allow to configure twice the same IP?

2014-10-28 Thread Adam Thompson
On 14-10-28 05:55 AM, Martin Pieuchot wrote: There's nothing that prevent you to configure the same IPv4 address on different interfaces in the same routing domain. But does it make sense? Index: netinet/in.c === RCS file:

Re: On this -lightly loaded- machine a second lasts two or three seconds

2014-10-28 Thread Ted Unangst
On Tue, Oct 28, 2014 at 04:42, Abel Abraham Camarillo Ojeda wrote: $ while sleep 1; do date; done Tue Oct 28 04:34:04 CST 2014 Tue Oct 28 04:34:06 CST 2014 cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz, 2133.68 MHz One normal CPU. cpu0: apic clock

Re: Should we allow to configure twice the same IP?

2014-10-28 Thread Martin Pieuchot
On 28/10/14(Tue) 08:57, Adam Thompson wrote: On 14-10-28 05:55 AM, Martin Pieuchot wrote: There's nothing that prevent you to configure the same IPv4 address on different interfaces in the same routing domain. But does it make sense? Index: netinet/in.c

Re: pool page colouring

2014-10-28 Thread Ted Unangst
On Tue, Oct 28, 2014 at 16:49, David Gwynne wrote: when i shuffled the locking in pools around, page colouring was left behind. page colouring is where you offset items within a page if you have enough slack space. the previous implementation simply incremented the colour so each new page

Re: pool page colouring

2014-10-28 Thread Mike Belopuhov
On 28 October 2014 17:02, Ted Unangst t...@tedunangst.com wrote: On Tue, Oct 28, 2014 at 16:49, David Gwynne wrote: when i shuffled the locking in pools around, page colouring was left behind. page colouring is where you offset items within a page if you have enough slack space. the previous

Re: pool page colouring

2014-10-28 Thread David Gwynne
On 29 Oct 2014, at 2:44 am, Mike Belopuhov m...@belopuhov.com wrote: On 28 October 2014 17:02, Ted Unangst t...@tedunangst.com wrote: On Tue, Oct 28, 2014 at 16:49, David Gwynne wrote: when i shuffled the locking in pools around, page colouring was left behind. page colouring is where

Re: On this -lightly loaded- machine a second lasts two or three seconds

2014-10-28 Thread Abel Abraham Camarillo Ojeda
On Tue, Oct 28, 2014 at 8:22 AM, Ted Unangst t...@tedunangst.com wrote: On Tue, Oct 28, 2014 at 04:42, Abel Abraham Camarillo Ojeda wrote: $ while sleep 1; do date; done Tue Oct 28 04:34:04 CST 2014 Tue Oct 28 04:34:06 CST 2014 cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R)