Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-08 Thread Lev Serebryakov
Hello, Erik. You wrote 7 ноября 2012 г., 19:11:03: EC> That thread starts here: EC> http://lists.freebsd.org/pipermail/freebsd-arch/2010-April/010143.html Year 2010! And we still limited by MAXPHYS (128K) transfers :( -- // Black Lion AKA Lev Serebryakov __

Re: [patch] reducing arp locking

2012-11-08 Thread Alexander V. Chernikov
On 08.11.2012 14:24, Andre Oppermann wrote: On 08.11.2012 00:24, Alexander V. Chernikov wrote: Hello list! Currently we need to acquire 2 read locks to perform simple 6-byte copying from arp record to packet ethernet header. It seems that acquiring lle lock for fast path (main traffic flow) is

Re: [patch] reducing arp locking

2012-11-08 Thread Andre Oppermann
On 08.11.2012 11:25, Alexander V. Chernikov wrote: On 08.11.2012 14:24, Andre Oppermann wrote: On 08.11.2012 00:24, Alexander V. Chernikov wrote: Hello list! Currently we need to acquire 2 read locks to perform simple 6-byte copying from arp record to packet ethernet header. It seems that acq

Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-08 Thread Wojciech Puchar
EC> That thread starts here: EC> http://lists.freebsd.org/pipermail/freebsd-arch/2010-April/010143.html Year 2010! And we still limited by MAXPHYS (128K) transfers :( put options MAXPHYS=2097152 in your kernel config. EVERYTHING works in all production machines for over a year the only

Re: [patch] reducing arp locking

2012-11-08 Thread Andre Oppermann
On 08.11.2012 00:24, Alexander V. Chernikov wrote: Hello list! Currently we need to acquire 2 read locks to perform simple 6-byte copying from arp record to packet ethernet header. It seems that acquiring lle lock for fast path (main traffic flow) is not necessary even with current code. My

Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-08 Thread Nikolay Denev
On Nov 8, 2012, at 12:56 PM, Wojciech Puchar wrote: >> EC> That thread starts here: >> EC> http://lists.freebsd.org/pipermail/freebsd-arch/2010-April/010143.html >> Year 2010! And we still limited by MAXPHYS (128K) transfers :( > put > options MAXPHYS=2097152 > in your kernel config. >

Re: FreeBSD on RaspberryPi

2012-11-08 Thread Sami Halabi
Hi, why the console cable is needed ? Sami On Wed, Nov 7, 2012 at 6:01 PM, Tim Kientzle wrote: > WARNING: This is still highly experimental and by no > means ready for "production use", but some folks might > find it interesting. > > To boot FreeBSD on your RaspberryPi, you'll need: > 1) A R

Re: A question about creating a system call

2012-11-08 Thread Robert Watson
Hi Dave: This wiki page may be of value: http://wiki.freebsd.org/AddingAuditEvents Robert N M Watson Computer Laboratory University of Cambridge On Thu, 8 Nov 2012, dave jones wrote: Hello, I know how to create system calls, but I'm a bit confused about sys/kern/syscalls.master file

Re: -lpthread vs -pthread: does -D_REENTRANT matter?

2012-11-08 Thread Eitan Adler
On 8 October 2012 12:17, Eitan Adler wrote: > The only difference between -lpthread and -pthread that I could see is > that the latter also sets -D_REENTRANT. > However, I can't find any uses of _REENTRANT anywhere outside of a few > utilities that seem to define it manually. > > Testing with vari

Re: [patch] reducing arp locking

2012-11-08 Thread Alexander V. Chernikov
On 08.11.2012 03:46, Adrian Chadd wrote: On 7 November 2012 15:24, Alexander V. Chernikov wrote: Hello list! Currently we need to acquire 2 read locks to perform simple 6-byte copying from arp record to packet ethernet header. It seems that acquiring lle lock for fast path (main traffic flow)

Custom FreeBSD usb memstick

2012-11-08 Thread Sam Fourman Jr.
hello hackers@ I have a interest in playing around with the scripts that create the memstick image when you run make release... can anyone point me in the right direction, how would I go about modifying the size of the partition that gets created on the memstick image -- Sam Fourman Jr. __

Re: Custom FreeBSD usb memstick

2012-11-08 Thread Robison, Dave
If you're just looking for a release on memstick, check out druidbsd http://druidbsd.sourceforge.net/ If you're doing it to learn the process, I'm sure you can learn a few things from druidbsd anyway... Enjoy Dave On 11/08/2012 14:07, Sam Fourman Jr. wrote: > hello hackers@ > > I have a inter

Re: [patch] reducing arp locking

2012-11-08 Thread Adrian Chadd
On 8 November 2012 13:48, Alexander V. Chernikov wrote: >> That's a great catch! How'd you discover it? > > We have lots of FreeBSD routers doing 10G firewalling, so we're very much > concerned with forwarding/firewalling performance, constantly looking for > something to optimize :) I mean, how

Re: Custom FreeBSD usb memstick

2012-11-08 Thread Devin Teske
Slowly working my way to HEAD. 9.0-R is the latest I've done (and still waiting patiently for 9.1-R). Druid is unique in that you can create a custom USB memstick that also can be burned to CD or DVD (with zero modifications). When getting started, keep in mind that you can do these steps on Ma

Re: [patch] reducing arp locking

2012-11-08 Thread Ingo Flaschberger
Dear Alexander, If nobody objects I plan to commit this change at the end of next week. LLE_RNLOCK(la); should be LLE_RLOCK(la); in arpresolve Kind regards, Ingo Flaschberger ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd

Re: Custom FreeBSD usb memstick

2012-11-08 Thread Daniel O'Connor
On 09/11/2012, at 8:37, Sam Fourman Jr. wrote: > I have a interest in playing around with the scripts that create the > memstick image when you run make release... > can anyone point me in the right direction, how would I go about > modifying the size of the partition that gets created on the me

Re: FreeBSD on RaspberryPi

2012-11-08 Thread Tim Kientzle
> On Wed, Nov 7, 2012 at 6:01 PM, Tim Kientzle wrote: > WARNING: This is still highly experimental and by no > means ready for "production use", ... > > To boot FreeBSD on your RaspberryPi, you'll need: > 1) A RaspberryPi. > 2) A serial cable similar to this one: www.adafruit.com/products/9

Re: FreeBSD on RaspberryPi

2012-11-08 Thread Alexander Yerenkow
It was plain current with plain RPIB kernel config, and for graphic you should uncomment there partition about sysconsole; serial then disabled; Also, if you want ethernet - it's ue device, which also worked, but produced hangs for me in past (Hans IIRC already fixed.this). I'll have some time this