Re: Firefox, malloc(3) and threads

2016-01-25 Thread Matthew Via
I've had the patch applied for two days now and have not seen any ill
efects.  This is a Thinkpad T410 running snapshots.

Before, youtube was unwatchable.  Sound would continue normally while
video would freeze for long stretches, often over 10 seconds.  Its not
perfect now, but its very nearly so when not fullscreen.

It does seem that cpu usage of firefox is also significantly reduced,
and is generally snappier.

Thank you!
-via

On 22:46 Fri 22 Jan , Mark Kettenis wrote:
> Firefox makes a lot of concurrent malloc(3) calls.  The locking to
> make malloc(3) thread-safe is a bit...suboptimal.  This diff makes
> things better by using a mutex instead of spinlock.  If you're running
> Firefox you want to try it; it makes video watchable on some machines.
> If you're not running Firefox you want to try it; to make sure it
> doesn't break things.
> 
> Enjoy,
> 
> Mark


pgpADkOhkH3M0.pgp
Description: PGP signature


Re: [Patch] New item to the Migrating to OpenBSD guide

2015-06-28 Thread Matthew Via
 Without reading much of the documentation to gain reasonable production
 usage, you're trying to mend the OpenBSD site to say it is lacking
 something that you thought worth having according to your current
 limited to Linux experience.
 
 Never occurred to you it may be intentional?

 The pushing of binary patches notion is not appropriate.
 
 For a project that provides binary base OS and binary packages for ports
 on multiple architectures, and signed distribution of base and
 packages, before anyone else adopted these impressive achievements, you
 think in your own universe (and your advisor's) this group is resource
 constrained and incapable of providing binary patches to current and
 stable?

Is this a joke, perhaps a terribly unclever attempt at trolling?  Lack of
resources is about the only good reason there is for not providing
binary updates.  The wonderful signed binary package infrastructure is
not terribly useful if by the time it is released, you have to build
ports from CVS to not have security vulnerabilities anyway! 
Clearly I am not the only one who thinks this is not intentional, 
given the existance of m:tier, which as discussed is even run by 
OpenBSD maintainers.

 Read the docs, don't be lazy and overly assuming. You're polluting the
 Internet with incorrect information which is a disservice to both
 newcomers from Linux and to the OpenBSD community.

Given that the topic is about people moving from Linux to OpenBSD, and
how it is normal in the Linux world to have binary updates... what here
is incorrect, or a disservice? I've been using OpenBSD for most of a
decade and I think this is a fine addition given the context of what
someone from the Linux world expects.

 You're actually trying to scare people off, because you can't handle
 the lean and effective process of managing OpenBSD, justifying
 this with the unconfirmed fact you were advised by somebody.

...


pgptrMillxnPy.pgp
Description: PGP signature