View unanswered posts | View active topics It is currently Sun May 26, 2013 3:41 am



Reply to topic  [ 105 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
jpeg SIMD (MMX) success! 
Author Message
Site Admin
User avatar

Joined: Wed Jul 09, 2003 3:07 pm
Posts: 5221
Location: Bristol, UK
Post 
Blazer wrote:
I had similar success with this. My load average is now .80! This should be made a sticky, and noted in the Zm docs :)


The documentation is all in the Wiki now so anyone can edit it to add useful information.

_________________
Phil


Thu Feb 07, 2008 11:22 pm
Profile ICQ YIM WWW
User avatar

Joined: Sat Mar 17, 2007 11:48 am
Posts: 464
Post 
zoneminder wrote:
Blazer wrote:
I had similar success with this. My load average is now .80! This should be made a sticky, and noted in the Zm docs :)


The documentation is all in the Wiki now so anyone can edit it to add useful information.
Could you provide the link? Cant' seem to find it.

_________________
v1.25.0 + Ubuntu Linux 12.04 Server


Fri Feb 08, 2008 9:12 am
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
Try the first post in the thread ;)
[quote] The AMD64 (EM64T/Intel64) is a 64-bit mode environment (at this time) is not supported. ã


Fri Feb 08, 2008 9:25 am
Profile WWW
User avatar

Joined: Sat Mar 17, 2007 11:48 am
Posts: 464
Post 
cordel wrote:
Try the first post in the thread ;)
There's no link to the corresponding WiKi page in the first post... 'cos that's what I'm looking for :lol:

_________________
v1.25.0 + Ubuntu Linux 12.04 Server


Fri Feb 08, 2008 10:28 am
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
Phil was refering to the fact that what used to be the readme is now in the wiki (Documentation link on the left side of the wiki menu) and if someone wanted to make note of it in that section, they are welcome too :)
My only concern is that nothing has happened with this project for almost 2 years, so the question becomes how long before it's not up to par so to speak :roll:
And there is not 64 bit OS support.

Translated through Google, More info.


Fri Feb 08, 2008 10:38 am
Profile WWW
User avatar

Joined: Sat Mar 17, 2007 11:48 am
Posts: 464
Post 
Hmm... there's still nothing about simd on the 'Documentation link on the left side of the wiki menu'. I may be dumb or I cannot see it. I mean it says 'The documentation is all in the Wiki...' but except a few general words that you should perhaps change libraries if yu expreience heavy load, nothing really on this specific topic...

Or am I missing something?

_________________
v1.25.0 + Ubuntu Linux 12.04 Server


Fri Feb 08, 2008 11:09 am
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
He was saying that some one could add the information if they wanted, not that it is there.


Fri Feb 08, 2008 11:10 am
Profile WWW
User avatar

Joined: Sun Jun 05, 2005 1:57 pm
Posts: 234
Post 
FYI I just did another ZM install at another location, and again had success with installing this alternate libjpeg. This time instead of source install, I used the RPMS that are at http://cetus.sakura.ne.jp/softlab/jpeg- ... html#linux

This system is Centos5, and all I did was:

Code:
wget http://cetus.sakura.ne.jp/softlab/jpeg-x86simd/linux/FC6/libjpeg-6bx1.02-2.fc6.i386.rpm
wget http://cetus.sakura.ne.jp/softlab/jpeg-x86simd/linux/FC6/libjpeg-devel-6bx1.02-2.fc6.i386.rpm
service zm stop
rpm -ev --nodeps libjpeg libjpeg-devel
rpm -ivh libjpeg*
service zm start


All done, instant improvement :)


Tue Feb 19, 2008 7:07 am
Profile

Joined: Mon Dec 10, 2007 6:53 pm
Posts: 194
Location: San Jose, CA
Post 
The source doesn't compile with the version of NASM on Ubuntu 8.04. I get the following errors
Code:
nasm -felf -DELF -I./ ./jccolmmx.asm -DPIC -o jccolmmx.lo
./jccolmmx.asm:403: error: mismatch in operand sizes
./jccolmmx.asm:404: error: mismatch in operand sizes
./jccolmmx.asm:442: error: mismatch in operand sizes
./jccolmmx.asm:443: error: mismatch in operand sizes
make: *** [jccolmmx.lo] Error 1


nasm -v on Ubuntu 8.04 gives:
Code:
NASM version 0.99.06-20071101 compiled on Nov 15 2007


I downloaded the latest version of nasm on sourceforge ( version 2.02) and everything complied fine.


Mon May 19, 2008 5:07 am
Profile WWW

Joined: Wed Jan 30, 2008 6:53 pm
Posts: 519
Location: St. Louis, MO, USA
Post Ubuntu 8.0.4
Haven't finished installing ZoneMinder yet, but successfully compiled the jpeg mmx libs with the following.

* wget http://cetus.sakura.ne.jp/softlab/jpeg- ... .02.tar.gz

* tar xzvf jpegsrc-6b-x86simd-1.02.tar.gz
* wget http://internap.dl.sourceforge.net/sour ... .02.tar.gz
* tar -xvf nasm-2.02.tar.gz
* cd nasm-2.02
* ./configure
* make
* make install
* cd jpeg-6bx/
* ./configure --enable-shared
* make
* make install
* ldconfig


Sun Jun 01, 2008 9:11 pm
Profile

Joined: Thu Apr 26, 2007 3:35 am
Posts: 146
Post FC8
What kind of performance gains would be expected with this on say Fedora Core 8? Has anyone tried this yet?


Mon Jun 02, 2008 7:52 pm
Profile

Joined: Wed Dec 19, 2007 2:07 pm
Posts: 4
Post 
On ZM LiveCD v1.22.3 - Mandriva 2007.0, I did the following:

wget http://cetus.sakura.ne.jp/softlab/jpeg- ... .02.tar.gz

compiled it (./configure --enable-shared & make)
then overwrote the lib from rpm libjpeg62-6bx-40mdv2007.0 with ./.libs/libjpeg.so.62.1.0

It worked! And it seems to have lowered my load...!


Tue Sep 23, 2008 12:04 pm
Profile

Joined: Tue Sep 23, 2008 1:54 pm
Posts: 10
Post 
Looks like my load has increased from (0.5 - 5+) to 1.1 - don't know until the frame gets busy after the weekend when there's traffic in front of the cams.

- Athlon 1300 or 1400
- 1G DDR400
- installed from rmelin's LiveCD, not updated.

Is it maybe better able to keep up, so getting more analysis done?

EDIT: I was too hasty, once I closed the SSH client (putty), load went back down to normal, but not lower. Again, maybe next week I won't peak as much when ZM gets busy.

_________________
-h


Sat Oct 04, 2008 11:41 pm
Profile

Joined: Mon Jun 23, 2008 4:56 pm
Posts: 23
Post 
Id like to add my experience - this dropped my load from ~14 to ~2. increased frame rates by 20FPS PER CAMERA for 8 cameras, at 640x480. really, really great. this should be standard! thanks!


Wed Oct 15, 2008 9:06 pm
Profile

Joined: Mon Jan 24, 2005 3:43 pm
Posts: 301
Post 
Hi.

cordel wrote:
Phil was refering to the fact that what used to be the readme is now in the wiki (Documentation link on the left side of the wiki menu) and if someone wanted to make note of it in that section, they are welcome too :)
My only concern is that nothing has happened with this project for almost 2 years, so the question becomes how long before it's not up to par so to speak :roll:
And there is not 64 bit OS support.

Translated through Google, More info.


Hmm, that what I read from Google translated content there:
"
In the current version is not compatible with AMD64 but, AMD64 compatible version is now in production. During the first half of this year, if possible, even late in the year to support the AMD64 version to the public.
(26/10/2006: making the current work stops. Will be delayed from release. I'm sorry.) However, i386/AMD64 porting to other platforms do not plan to. So, Itanium version or PowerPC (Mac) version of hope, that hope will not be answered."

I presume this means that 64-bit support is coming eventually.


Fri Oct 17, 2008 4:02 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 105 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group