RISC OS News on Drobe
RISC OS Search
containing
"If the main journalist on a RISC OS news site isn't interested [in ROS news] then things are pretty black."
Welcome back guest  |  Login  |  Register Sunday 20th July 
Login

drobe.co.uk
About Drobe
RISC OS News
Drobe Features
Alternatives
Bookmarks
Riscos.org.uk
Auctions
Events (shows)
AU issues
Tech Material
Wallpaper
Movies
File archives
SH eBooks
FAQs
Changelog

Interact
Forums
Online chat
Your webspace
BBC Emu(games!)
User gallery
RSS news &
comments
Submit news
Contact us

Quick Links
Open directory
Nutshells
ANS archives
ArcSite
RO Repository
Announce
RISCOS Ltd.
Castle

NTK
The Inquirer
The Register
OSNews
Slashdot
Google

Alternatives
NetBSD
ARM Linux
Iyonix Linux

Found Apps
 RISC OS Software !Avalanche
 RISC OS Software !Darts
 RISC OS Software !CFuncAnal
 RISC OS Software !TranTIFF+
 RISC OS Software !Dustbin
 RISC OS Software !NurseW
 RISC OS Software !Tally
 RISC OS Software !VideoLog
 RISC OS Software !USBKick
 RISC OS Software !Spr2Jpeg
Recent users
flibble is a RISC OS User flibble
ritecartdev is a RISC OS User ritecartdev
tduell is a RISC OS User tduell
barti is a RISC OS User barti
bavison is a RISC OS User bavison
jmb is a RISC OS User jmb
rjek is a RISC OS User rjek
Fuzzy is a RISC OS User Fuzzy
chrisj is a RISC OS User chrisj
hubersn is a RISC OS User hubersn


Why donate?

Serving: 15GB
Fuel: caffeine
0 users online
25 guests
177 active accts 24329 comments

Webstats

 
RISC OS News Article
Iyonix software speed boost driver released
Published: 22nd Dec 2006, 15:36:38GMT  Source: drobe.co.uk
By the Drobe news desk
Page 1 of 1
Officer, I swear I was only doing 32MB/s
The Iyonix motherboard with its IOP321 processorSoftware running on the Castle Iyonix could benefit from a huge speed boost following the release of a new hardware acceleration driver. The module, developed by Rik Griffin, harnesses the application accelerator in the Intel XScale IOP321 processor to quickly transfer blocks of memory around the system.

The hardware acceleration can hit memory copying and filling speeds of up to 600MB/s, according to Rik. A quick test showed that non-accelerated programs on the Iyonix can manage 36MB/s, roughly half the speed of an ARM9-powered A9home under the same test. While the IOP321's accelerator is in action, the processor can also execute other code, although applications that support this are slightly more tricky to design and write.

Denbridge Marine engineer Rik said his AppAcc software allows programs to access the hardware acceleration when they need to throw data around the system. Software must be modified to take advantage of the acceleration, or use a SharedCLibrary module that can talk to AppAcc. It's understood not all applications will benefit, especially software that doesn't move large chunks of data around.

He said: "AppAcc is a module that provides an API to the Intel 80321's application accelerator hardware. This device can copy data from one part of main memory to another without going via the CPU.

"Obviously this module will only work on the Iyonix. Notwithstanding the overheads of setting up an operation, memory copy speeds of up to 600MB/s can be achieved. Also, as the operation is not performed by the CPU, the CPU can be executing other code while the memory operation continues in the background."

Rik admitted that his module could do with some more documentation, although he suggested programmers should read chapter six of the Intel 80321 IO Processor Developer's Manual to understand how the chip works. Example programs are included with the module along with its source code.

The AppAcc software uses David "Count Druckula" Ruck's TimerMod for benchmarking purposes, and the SysLog module for debugging. Developers can recompile the module to switch off these requirements.

Following the news, David said Graham Shaw's new replacement SharedCLibrary could use AppAcc to speed up certain memory-based functions.

He said: "It's definitely overdue that someone exploits this very useful feature of the XScale. My immediate thought is that this could be incorporated into the new open source SharedCLibrary to give a significant speed boost to large memcpy() and memset() operations."

Rough tests showed that the A9home can copy memory using memcpy() at a rate of 76MB/s using either UnixLib or RISC OS 4.42's SharedCLibrary. The Iyonix copies memory at a rate of 36MB/s using Unixlib's memcpy() or 32MB/s using Castle's SCL.

Links
Download Rik's accelerator and send him feedback via rik (dot) griffin [at] ntlworld (dot) com.

Related articles
Early Soundblaster Live Iyonix driver released
Firefox 2 port now Iyonix and A9home friendly
Iyonix banned by new EU green law

This article has been linked to, or is available in the following formats:  
 
 
 
 
 
[Printable] [Digg this] [Blog search]


Revin Kevin(valued user) 
Face
22/12/06 3:54PM
Could this module be used by the DVD playing software to get it up to speed?
ccw (+1.0)
22/12/06 4:59PM
where do we put this driver?
nice to see the iyonix getting faster
diomus(valued user)www (+0.9)
Face
22/12/06 5:11PM
Apologies if it's not entirely clear from the article, but applications have to 'opt-in' to benefit from the acceleration. That is, they have to be modified to use it, or use a SharedCLibrary that uses it. I'll tweak to the article to reinforce this.
fwibbler 
Face
22/12/06 6:33PM
I wonder if the new version of GutenPrint (5.0) will benefit from this?
It would be nice to get A4 photos printed in less than half an hour.
wuerthne(good user) (+1.0)
Face
22/12/06 8:12PM
Robin Kevin:
Please be realistic. This module accelerates copying large blocks of memory from one location to another. This is about the very last thing DVD playing software requires.
wuerthne(good user) (+0.1)
Face
22/12/06 8:16PM
In reply to fwibbler:

It is highly unlikely that Gutenprint would benefit at all from such a specialized optimization. In fact, I can think of very few cases where this acceleration would make any significant difference to an application's speed. With one interesting exception though: Due to the way it was designed, ArtWorks does indeed copy huge amounts of memory around and this has become a problem when editing with large files. So, at least for ArtWorks it will make a lot of sense to use this module when running on an Iyonix.
rjek(valued user) (+2.0)
Face
22/12/06 8:23PM
The Application Accelerator provides functions that help greatly in doing RAID. This is not surprising, given being the controller on a RAID card is what the IOP321 is designed to do. Running general purpose code is not what it is designed to do - as such, any possible applications for it will be quite narrow.
AMS(valued user) (+3.0)
22/12/06 9:04PM
In reply to rjek:
"being the controller on a RAID card is what the IOP321 is designed to do. Running general purpose code is not what it is designed to do - as such, any possible applications for it will be quite narrow."

But the beauty of it is is it's a freebee. It's something built into the hardware, and if malloc() can be made take advantage of it, or even if some specific apps can use it well that's a good thing isn't it? Usually I am not usually surprised that once someone opens the door to making use of a speed enhancing feature people find ways to exploit it. And getting an x10->x20 memory transfer rate improvement for nothing I can happily accept without too much protestation.... ;-)

adrianl(good user)www (+1.0)
22/12/06 9:15PM
You get an even better speed increase by not copying large chunks of memory in the first place.
AMS(valued user) (+3.0)
22/12/06 9:18PM
Well yes, that's true ;-)

I meant in the context where you had to copy it - obviously if you can avoid it so much the better.
rjek(valued user) 
Face
22/12/06 9:47PM
In reply to AMS:
I'm not sure why you think malloc() could be improved by this - I assume you mean memcpy() ? What I meant by my post is to clarify to some people that this won't suddenly make their computer go 5 times faster. It might make a small improvement to a handful of applications in very rare circumstances - it's relatively rare that you'd ever want to copy around large amounts of memory on desktop machines.
AMS(valued user) (+1.0)
22/12/06 10:19PM
In reply to rjek:
memcpy(), yes sorry (sheepish grin).

Combination of tiredness and old age creeping up on me methinks.

 

Top Tip

Bookmarks!

We have a directory of Companies, User groups and more in our bookmarks section, check it out!
 
Headline news
Wakefield 2008 show photos
28th Apr 2008

Wakefield 2008 show live news
26th Apr 2008

Who would want an A9home PDA?
24th Apr 2008

RISC OS 6.10 available to Select subscribers
24th Apr 2008

Gallery photo


From: Snig's album

Older news
Animation and typing applications really released
24th Apr 2008

Wakefield 2008 show preview
22nd Apr 2008

R-Comp unveils new PDF authoring package
22nd Apr 2008

NetSurf bags GBP10K investment from Google
21st Apr 2008

Apple Mac VirtualRiscPC leaves beta
20th Apr 2008

Blu-ray disc burn breakthrough
14th Apr 2008

PDF import support for ArtWorks
13th Apr 2008

Wakefield 2008 show theatre line-up revealed
13th Apr 2008

Animation software collection falls into R-Comp's hands
9th Apr 2008

Features
A9home: two years on
4th Dec 2007

A9home DIY laptop: first pictures
1st Dec 2007

Software hosted by Drobe: Your guide
5th Nov 2007

 

Top | Design and concept © Fudgecake Design, 1999 - 2001. Content © The Drobe Team, 1999 - 2008. 
Click here for more information and terms and conditions.