View unanswered posts | View active topics It is currently Mon May 20, 2013 5:34 am



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

Joined: Wed Jan 18, 2006 10:20 am
Posts: 48
Location: Firenze, Italy
Post 
worked perfectly, with epia (C3) cpu performance improved really.

cpu passed from 43% to 24% for zmc

a real gain!!!

thanks all


Fri Jul 14, 2006 12:21 pm
Profile

Joined: Wed Jun 08, 2005 9:07 pm
Posts: 5078
Location: Midlands UK
Post 
i ownder what difference sse3 would make. I must say that the increases in performance seem huge. But obviously only in the jpeg creating department. zma in modetc/mocord obviously still uses the bulk of cpu time. Is there a way of helping these processes or does analysing images take this power regardless due to the nature of the beast

_________________
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


Fri Jul 14, 2006 12:45 pm
Profile WWW

Joined: Thu Jul 21, 2005 9:21 pm
Posts: 23
Location: Goleta, California
Post 
Still working great here on my home system with one camera.

I wish I could apply it to my AMD64 8 camera system. I may have to re-do that box as 32bit just for the boost from this library.

-David


Fri Jul 14, 2006 2:24 pm
Profile

Joined: Wed Jun 08, 2005 9:07 pm
Posts: 5078
Location: Midlands UK
Post 
did you notice any major speed gains of 64bit over 32 bit? Obviously there are gains with the mmx but i wouldnt have thought in this application there were big gains in 64 bit, but i may be way off!! lol

_________________
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


Fri Jul 14, 2006 6:03 pm
Profile WWW

Joined: Thu Jul 21, 2005 9:21 pm
Posts: 23
Location: Goleta, California
Post 
It's got 6GB of RAM and there are some other things running on it, so I'd like to avoid taking the himem IO performance hit.

I doubt there'd be much of a processor performance difference going to 32bit, other than the huge gains i'd be able to get by using the jpeg-simd lib.

-David


Fri Jul 14, 2006 6:09 pm
Profile

Joined: Wed Jun 08, 2005 9:07 pm
Posts: 5078
Location: Midlands UK
Post 
6GIG whats it running??

_________________
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


Fri Jul 14, 2006 6:13 pm
Profile WWW

Joined: Tue Jun 13, 2006 3:08 pm
Posts: 77
Post 
jpeg-mmx also now works for me on slackware-current.


Fri Sep 08, 2006 8:33 am
Profile

Joined: Fri Jul 14, 2006 9:56 am
Posts: 25
Post 
i'd just like to reiterate how much difference this alternative libjpeg makes. on a via epia en12000 with one local camera in record mode capturing in colour at 3fps and 640x480, user cpu usage (almost all zma) dropped from ~27% to ~11%. quite impressive. don't know how it'll perform long term yet, but loks good so far

neil


Wed Sep 20, 2006 8:39 pm
Profile

Joined: Wed Feb 25, 2004 6:06 pm
Posts: 74
Post 
It's improved my system's ability to monitor a camera on-screen at 352x288 whilst capturing events from up to three cameras with less chance that frames will be lost.

EDIT: Probably shouldn't post last thing at night...


Last edited by unclerichy on Thu Sep 21, 2006 7:42 am, edited 1 time in total.



Wed Sep 20, 2006 11:50 pm
Profile

Joined: Wed Jun 08, 2005 9:07 pm
Posts: 5078
Location: Midlands UK
Post 
im starting to be convinced by its long term stabiliuty too

_________________
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


Thu Sep 21, 2006 12:07 am
Profile WWW

Joined: Wed Jan 11, 2006 1:19 pm
Posts: 442
Post 
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.8)

No difference in usage that I can see. Thanks dbosso


Thu Sep 28, 2006 1:37 pm
Profile

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

So this library does run on 64-bit CPU? I recall there were remarks that the 64-bit support is not complete.


Thu Sep 28, 2006 4:03 pm
Profile

Joined: Wed Jan 11, 2006 1:19 pm
Posts: 442
Post 
I suspect that's referring to a 64-bit OS.

I'm running a 32-bit kernel on a 64-bit CPU so as far as software's concerned, it's 32-bit. Sorry I didn't make that clear.


Thu Sep 28, 2006 4:51 pm
Profile

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

Thanks for the information.


Sun Oct 08, 2006 12:10 pm
Profile

Joined: Sat May 20, 2006 8:55 am
Posts: 17
Location: europe
Post 
i can confirm good results on a Celeron 2.53GHz (512ram) with 2x DCS-900 (640x480 ~6fps) on modect (avg. 60% active area)

load average dropped from .6 to .4
idle CPU went from 66% to 76% :)


Sat Oct 21, 2006 4:27 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 105 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next

Who is online

Users browsing this forum: Google [Bot] and 2 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Group