jpeg SIMD (MMX) success!
i have problem to build it
no problem with other bash script
i use suse 10.2
Code: Select all
./configure
bash: ./configure: /bin/bash^M: bad interpreter: No such file or directory.
i use suse 10.2
-
- Posts: 13
- Joined: Wed May 09, 2007 6:50 pm
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
id hoped there would be more support for this (ie another source) by now. BUt i cant answer your question. Might be worth a search to see if anyone else has done something similar.
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Works a treat.
I just upgraded my system to an AM2 Semperon based machine. Very sweet CPU over the old Pentium III 866.
Anyway,
I just installed via my SSH (putty) window easily enough. I'm using the liveCD 1.22.3
1. wget http://cetus.sakura.ne.jp/softlab/jpeg- ... .02.tar.gz
2. tar xzvf jpegsrc-6b-x86simd-1.02.tar.gz
3. wget http://optusnet.dl.sourceforge.net/sour ... 1.i386.rpm
4. rpm -Uvh nasm-0.98.39-1.i386.rpm
5. cd jpeg-6bx/
6. ./configure --enable-shared
7. make
8. service zm stop
9. make install
10. ldconfig
11. service zm start
Halved my already miniscule CPU usage. Averaging about 7% now!
--> Troy.
Anyway,
I just installed via my SSH (putty) window easily enough. I'm using the liveCD 1.22.3
1. wget http://cetus.sakura.ne.jp/softlab/jpeg- ... .02.tar.gz
2. tar xzvf jpegsrc-6b-x86simd-1.02.tar.gz
3. wget http://optusnet.dl.sourceforge.net/sour ... 1.i386.rpm
4. rpm -Uvh nasm-0.98.39-1.i386.rpm
5. cd jpeg-6bx/
6. ./configure --enable-shared
7. make
8. service zm stop
9. make install
10. ldconfig
11. service zm start
Halved my already miniscule CPU usage. Averaging about 7% now!
--> Troy.
Sure:Lee Sharp wrote:Anyone have success with a Debian based system? (Like Ubuntu)
Ok, a bit behind the rest of you, but I've just installed the libs on both my Quad Xeon and the Athlon-64.
Both OS's running Debian Etch (Testing), both CPU sets have MMX capabilities. (Confirmed with cpuid)
Install as given by james.
make install failed on both machines due to:
/usr/bin/install: cannot create regular file `/usr/local/man/man1/cjpeg.1': No such file or directory
Easily fixed with a "mkdir /usr/local/man/man1" (Both my installs only had man4). Re-run make install, fine.
Xeon load before: 3.16 after: 1.86 (Rising to 2.50 depending on alarms)
Athlon load before: 0.86 after: 0.35 (Rising to 0.Cool
No difference in usage that I can see. Thanks dbosso
Not sure yet if load is different; this is such a new setup to me that I can't reliably compare load averages, but here's what I did after some trial and error and a few trips over to ubuntuforums.org:Lee Sharp wrote:Anyone have success with a Debian based system? (Like Ubuntu)
Code: Select all
wget http://cetus.sakura.ne.jp/softlab/jpeg-x86simd/sources/jpegsrc-6b-x86simd-1.02.tar.gz
tar xzvf jpegsrc-6b-x86simd-1.02.tar.gz
apt-get install build-essential
apt-get install nasm
cd j* (I'm lazy, yes)
./configure --enable-shared
make
<<stop ZM in web console; "service zm stop" fails with an error that I don't have "service" installed or something like that>>
make install
ldconfig
<<start ZM in web console again>>
I'm a newbie, sort of wandering in the dark, but the above seems to have "not failed' with Ubuntu 7.04 server (Feisty?).
My load average seems lower. It's .04 to .15 with a 6-monitor montage going and 3 modetects (3 are just set to monitor). It was bouncing between .5 and 1.2 earlier this evening. Keep in mind that as part of this install I restarted ZM; that might clean things up a bit so it's not scientific.
Hope that helps another newcomer.