From: Marcel Holtmann <marcel@holtmann.org>
To: Siarhei Siamashka <siarhei.siamashka@nokia.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH] Performance optimizations for input data processing in SBC encoder
Date: Wed, 28 Jan 2009 06:46:53 +0100 [thread overview]
Message-ID: <1233121613.18259.9.camel@violet> (raw)
In-Reply-To: <200901272014.13387.siarhei.siamashka@nokia.com>
Hi Siarhei,
> Here is a cleaned up version of the previous experimental patch:
> http://marc.info/?l=linux-bluetooth&m=123245036109697&w=2
>
> I changed it to be alignment and byte order neutral (input data is read one
> byte at a time). It's a bit slower than reading via int16_t * pointer, but
> avoids headache of worrying about the other problems. Endian conversion
> is still also kept (when reading one byte at a time, it does not affect
> performance anyway).
>
> The patch should be safe to apply.
your patch has been applied. Thanks.
> Benchmarks show consistent performance improvement ~30% for both x86
> and ARM Cortex-A8. It's even more than I measured before just because
> optimizations are cumulative and the effect of each individual change
> becomes
> more visible when the other parts also get faster (the previous
> benchmark was
> run before "-funroll-loops" optimization got committed).
Sounds great to me. Keep optimizing it :)
Regards
Marcel
next prev parent reply other threads:[~2009-01-28 5:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-27 18:14 [PATCH] Performance optimizations for input data processing in SBC encoder Siarhei Siamashka
2009-01-28 5:46 ` Marcel Holtmann [this message]
2009-01-29 1:27 ` Siarhei Siamashka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1233121613.18259.9.camel@violet \
--to=marcel@holtmann.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=siarhei.siamashka@nokia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox