From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13955 invoked from network); 21 Jun 1999 16:40:41 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 21 Jun 1999 16:40:41 -0000 Received: from jurassic.park.msu.ru (jurassic.park.msu.ru [195.208.223.243]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA29752 for ; Mon, 21 Jun 1999 11:46:33 -0400 Received: (from ink@localhost) by jurassic.park.msu.ru (8.9.3/8.9.3) id TAA09568 for axp-list@redhat.com; Mon, 21 Jun 1999 19:46:26 +0400 Date: Mon, 21 Jun 1999 19:46:26 +0400 From: Ivan Kokshaysky To: axp-list@redhat.com Subject: Re: Problems with mpg123 (or is the multia too slow to decode MP3?) Message-ID: <19990621194626.A9404@jurassic.park.msu.ru> References: <376A537C.5346@xs4all.nl> <376A548B.7D62@xs4all.nl> <376AA2DF.E0173536@nist.gov> <376AB3B7.446B@xs4all.nl> <19990619215424.C8660@twiddle.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990619215424.C8660@twiddle.net>; from Richard Henderson on Sat, Jun 19, 1999 at 09:54:24PM -0700 On Sat, Jun 19, 1999 at 09:54:24PM -0700, Richard Henderson wrote: > The mpg123 build process should be adjusted. It only uses the > math library to initialize some tables. This could be done at > compile time rather than at run time. > Right, but since mpg123 calculates these tables only once upon startup, the impact on an overall performance is close to zero. I've made some optimizations of mpg123 for Alphas some time ago, the patch is at ftp.park.msu.ru:/distrib/misc/mpg123-alpha.patch.gz (and srpm at ftp.park.msu.ru:/distrib/RH-5.2/alpha/contrib/SRPMS/mpg123-59q-3.src.rpm) With this patch CPU load of mp3 playback dropped from 6-7% to 3.5-4% on SX164/533MHz. You can also get some extra speedup on alphas with BWX specifying the cpu model in CFLAGS (-mcpu=ev56 etc.) Ivan.