| From | Subject | Date |
|---|---|---|
| Brian Buhrow | Re: Thread benchmarks
As an extra data point my colleague and I were looking at these bench
marks, and he commented that he'd seen other Linux graphs that looked
similar. His speculation was that the irratic behavior could be caused by
caching effects or something like that. In any case, the consensus, around
here anyway, is that at high loads, Linux just behaves like that, and
performance is just inconsistent.
-Brian
On Sep 28, 8:39pm, Andrew Doran wrote:
} Subject: Re: Thread benchmarks
} On Fri, Sep 28, 2007 at...
| Sep 28, 5:17 pm 2007 |
| Andrew Doran | Thread benchmarks
Back in March I posted some MySQL benchmarks after we switched to a 1:1
threading model in -current *. I've spent a lot of time tuning the pthread
library so I thought I'd post a followup. The original benchmark that I used
(supersmack) now performs much better on -current that it did a few months
ago, so I picked something else this time: MySQL sysbench.
Most of the sysbench runs that I've seen to date have sysbench running on
the same machine as the database. That's a good test but with the except...
| Sep 28, 1:51 pm 2007 |
| Perry E. Metzger | Re: Thread benchmarks
This is all very impressive. Congratulations -- clearly your work has
been paying off.
It would be interesting if you could include x86 Solaris in future
benchmarks.
Perry
| Sep 28, 2:40 pm 2007 |
| Andrew Doran | Re: Thread benchmarks
It would be a brighter place if you stopped pushing people around and
weren't such a deadweight. How about you benchmark it?
Andrew
| Sep 28, 3:14 pm 2007 |
| Perry E. Metzger | Re: Thread benchmarks
Thanks for the positive attitude.
.pm
| Sep 28, 3:35 pm 2007 |
| Andrew Doran | Thread benchmarks
Back in March I posted some MySQL benchmarks after we switched to a 1:1
threading model in -current *. I've spent a lot of time tuning the pthread
library so I thought I'd post a followup. The original benchmark that I used
(supersmack) now performs much better on -current that it did a few months
ago, so I picked something else this time: MySQL sysbench.
Most of the sysbench runs that I've seen to date have sysbench running on
the same machine as the database. That's a good test but with the except...
| Sep 28, 1:50 pm 2007 |
| Warner Losh | Re: Thread benchmarks
Which kernel config did you use for the FreeBSD results? In tests
that have been run on p4 hardware, the FreeBSD system's graph looks
more like NetBSD's than the one presented here. FreeBSD's kernel has
a lot of debugging options that hurt performance on by default. Also,
FreeBSD's malloc defaults to 'AJ' in head, which would result in
reduced performance.
Warner
| Sep 28, 4:04 pm 2007 |
| Adam Hamsik | Re: Thread benchmarks
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Regards
- -----------------------------------------
Adam Hamsik
jabber: haad@jabber.org
icq: 249727910
Proud NetBSD user.
We program to have fun.
Even when we program for money, we want to have fun as well.
~ Yukihiro Matsumoto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFG/VUXlIxPgX3Go0MRAkH6AKDXWaUGLR6whdxzqkPBb9vO4ERwXwCfbKVL
HekCuq6oCF8THzJbwWDYO80=
=00NO
-----END PGP SIGNATURE-----
| Sep 28, 3:25 pm 2007 |
| Thor Lancelot Simon | Re: Thread benchmarks
Something interesting's happening in the Linux line on the graph right
at the right edge of the plotted region (20 threads). Could you perhaps
run NetBSD-current against Linux again with the maximum number of threads
ramping up to 40, to see what the two curves look like as we head in
that direction?
Either we degrade a lot more gracefully than Linux under load, or there's
an artifact in the Linux graph. The current plot makes it impossible to
tell which, though.
Thor
| Sep 28, 2:27 pm 2007 |
| Andrew Doran | Re: Thread benchmarks
I have also tried 10-100 and 100-1000 client connections. I don't have the
numbers at hand, but Linux peaks around 550 tps somewhere around 100 client
connections. The numbers I was getting from Linux were quite erratic and I
had to throw out a few sets of results where the downward spikes were so bad
In the long run Linux will beat NetBSD. That said it the behaviour I saw on
this test cannot be called graceful!
Thanks,
Andrew
| Sep 28, 3:39 pm 2007 |
| matthew sporleder | Re: Thread benchmarks
Can you talk more about the malloc replacement? Also- an interesting
thing about benchmarks in the past was the long-running stability of
netbsd. Did you see anything like that?
| Sep 28, 1:57 pm 2007 |
| Andrew Doran | Re: Thread benchmarks
There's a good bit of information at the URL below and the imlementation is
in FreeBSD's CVS. The main advantage to jemalloc is that it works well with
large numbers of threads.
http://people.freebsd.org/~jasone/jemalloc/
Joerg has suggested what we try a few other BSD licensed allocators and see
Well, what do you mean by stability? :-). The majority of the kinks have
been ironed out of the scheduler and thread library now, so the results on
NetBSD are constant given the same test setup and ...
| Sep 28, 3:34 pm 2007 |
| Bill Stouder-Studenmund | Pulling a fix from wrstuden-fixsa into NetBSD 4.0.1
--M2Pxvdb9QxnGd/3e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
As some of you have noticed, I've been working on fixing some of the=20
issues with our SA implementation on the wrstuden-fixsa branch. This=20
branch is for fixing SA in context of NetBSD-4.
The hope is that I'll finish it all up in time for 4.1.
There is one fix however that I'd like everyone to think about for NetBSD=
=20
4.0.1. This is the fix that stops...
| Sep 28, 1:31 pm 2007 |
| John Nemeth | Re: Blackberry Curve, USB, and NetBSD?
On Feb 18, 11:15am, "=?UTF-8?Q?Karl_Sj=C3=B6dahl_-_dunceor?=" wrote:
} On 9/28/07, John Nemeth <jnemeth@victoria.tc.ca> wrote:
} > On Jan 14, 1:02am, Christos Zoulas wrote:
} > } In article <20070928020839.1acf6daf@berkshire.machshav.com>,
} > } >On Thu, 27 Sep 2007 23:28:52 +0200
} > } >Anders Hjalmarsson <hjalmar@hjalmar.to> wrote:
} > } >
} > } >> My Ericsson phone is similar, I get the 'drive offline' message, but
} > } >> I can mount ...
| Sep 28, 10:47 am 2007 |
| Karl Sjödahl - dunceor | Re: Blackberry Curve, USB, and NetBSD?
Yepp and that probobly should be enough to make it draw current, the
Well free to draw power but the phone wont setup charging and won't
BR
dunceor
| Sep 28, 12:09 pm 2007 |
| matthew sporleder | Re: Blackberry Curve, USB, and NetBSD?
Indeed, some of them will generate a complaint on osx that the device
is pulling more power than it was allowed to request.
http://en.wikipedia.org/wiki/USB#Power
| Sep 28, 1:48 pm 2007 |
| Manuel Bouyer | Re: Blackberry Curve, USB, and NetBSD?
I don't remember the exact value, but a device is allocated limited power
when first plugged into the USB port, which may not be enough for
charging. Once it has identified to the host
and said how much power it needs (or, eventually, sent the power
requirements for different PM modes), the host can budget the power and
return to the device how much it can get from the USB power supply.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la differenc...
| Sep 28, 2:00 pm 2007 |
| Christos Zoulas | Re: Blackberry Curve, USB, and NetBSD?
In article <20070928152317.0D6F0918FB@mail.hjalmar.to>,
My blackberry...
christos
| Sep 28, 11:26 am 2007 |
| John Nemeth | Re: Blackberry Curve, USB, and NetBSD?
On Jan 14, 1:02am, Christos Zoulas wrote:
} In article <20070928020839.1acf6daf@berkshire.machshav.com>,
} >On Thu, 27 Sep 2007 23:28:52 +0200
} >Anders Hjalmarsson <hjalmar@hjalmar.to> wrote:
} >
} >> My Ericsson phone is similar, I get the 'drive offline' message, but
} >> I can mount it without problems anyway.
} >> Part of dmesg:
} >>
} >> umass0 at uhub4 port 2 configuration 1 interface 8
} >> umass0: Sony Ericsson Sony Ericsson K750,...
| Sep 28, 10:35 am 2007 |
| Karl Sjödahl - dunceor | Re: Blackberry Curve, USB, and NetBSD?
The reason why is that it needs an ok from the computer that it has
identified and completed the handshake. Only identifyed objects are
allowed to draw current from the computer. The phone is in different
states when it's in USB mass storage mode and when it's started and
when it's in charge mode.
BR
dunceor
| Sep 28, 10:39 am 2007 |
| Christos Zoulas | Re: Blackberry Curve, USB, and NetBSD?
In article <20070928020839.1acf6daf@berkshire.machshav.com>,
We should also add a driver so that it can charge. It is pretty simple.
christos
| Sep 28, 8:55 am 2007 |
| Anders Hjalmarsson | Re: Blackberry Curve, USB, and NetBSD?
Which device are you talking about wrt charging, the iPod or the phone?
My phone certainly seems to charge, though it says "Charging" when plugged
into the USB-cable instead of "Optimized charging" which it says when I
plugit into the regular charger.
-hjalmar
| Sep 28, 11:23 am 2007 |
| Karl Sjödahl - dunceor | Re: Blackberry Curve, USB, and NetBSD?
Yepp and that is because it charge with less current in USB than a
real charger (chargin vs optimize charging that is). That also means
that your phone has identified itself and are allowed to draw current
from the computer.
BR
dunceor
| Sep 28, 11:27 am 2007 |
| Steven M. Bellovin | Re: Blackberry Curve, USB, and NetBSD?
On Fri, 28 Sep 2007 12:55:24 +0000 (UTC)
Hmm -- could you explain? I've never had any trouble charging my iPod,
since it goes online immediately. However, I can't charge my
Palmpilot, since NetBSD only recognizes it when I start a hotsync
operation, causing uvisor0 to appear.
--Steve Bellovin, http://www.cs.columbia.edu/~smb
| Sep 28, 9:14 am 2007 |
| Christos Zoulas | Re: Blackberry Curve, USB, and NetBSD?
On Sep 28, 1:14pm, smb@cs.columbia.edu ("Steven M. Bellovin") wrote:
-- Subject: Re: Blackberry Curve, USB, and NetBSD?
| On Fri, 28 Sep 2007 12:55:24 +0000 (UTC)
| christos@astron.com (Christos Zoulas) wrote:
|
| > In article <20070928020839.1acf6daf@berkshire.machshav.com>,
| > Steven M. Bellovin <smb@cs.columbia.edu> wrote:
| > >On Thu, 27 Sep 2007 23:28:52 +0200
| > >Anders Hjalmarsson <hjalmar@hjalmar.to> wrote:
| > >
| > >>
| > >&...
| Sep 28, 9:57 am 2007 |
| Darren Reed | Re: second pass at the "store the path of the executable in ...
I can see that the name can be accessed via procfs.
Should (and can) we also add something to kinfo_proc?
(That is, something not restricted by COMMLEN.)
Darren
| Sep 28, 3:29 am 2007 |
| previous day | today | next day |
|---|---|---|
| September 27, 2007 | September 28, 2007 | September 29, 2007 |
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
| David Miller | Slow DOWN, please!!! |
| Mark Fasheh | [PATCH 0/39] Ocfs2 updates for 2.6.28 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Shawn O. Pearce | Re: pack operation is thrashing my server |
| Pierre Habouzit | git send-email improvements |
| Matthieu Moy | git push to a non-bare repository |
| Shawn O. Pearce | libgit2 - a true git library |
| Elad Efrat | Integrating securelevel and kauth(9) |
| Hubert Feyrer | Re: Compressed vnd handling tested successfully |
| Lord Isildur | Re: Fork bomb protection patch |
| Matt Thomas | Re: FFS journal |
| Will Maier | cron doesn't run commands in /etc/crontab? |
| Richard Stallman | Real men don't attack straw men |
| Harald Dunkel | Re: Packet Filter: how to keep device names on hardware failure? |
| Jordi Espasa Clofent | Resolving dependencies with pkg_add |
| Question on swap as ramdisk partition | 1 hour ago | Linux kernel |
| Netfilter kernel module | 12 hours ago | Linux kernel |
| serial driver xmit problem | 15 hours ago | Linux kernel |
| Why Windows is better than Linux | 15 hours ago | Linux general |
| How can I see my kernel messages in vt12? | 21 hours ago | Linux kernel |
| Grub | 1 day ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 2 days ago | Linux general |
