[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - increase shared memory

increase shared memory

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

Re: increase shared memory

Postby 9600 » Mon May 19, 2014 12:03 pm

Andrew Back
User avatar
9600
 
Posts: 997
Joined: Mon Dec 17, 2012 3:25 am

Re: increase shared memory

Postby schmurfy » Mon May 19, 2014 2:03 pm

I am currently experimenting and one thing I am trying to get running is using the epiphany to generate hash of photos to (later) find duplicates, that's what got me started in that direction but for now I am still trying to get a hashing application small enough to fit in the 32K of a core.
Once I have this running the other question is what should be done by the "main" system and what can be delegated to the epiphany cores, I was hopping to use the main linux system to just decompress the images and send them to the epiphany but an uncompressed image is quite heavy nowadays :)

My current idea is to scale down the image before sending it the the epiphany since that's what the hashing algorithm will start by doing anyway but 32MB still looks small. I get that the external memory will be slower than the internal 32KB but in this case I doubt I can get much into this 32KB especially after the program is loaded on the core.
schmurfy
 
Posts: 12
Joined: Mon Dec 17, 2012 3:22 am

Re: increase shared memory

Postby schmurfy » Mon May 19, 2014 2:07 pm

schmurfy
 
Posts: 12
Joined: Mon Dec 17, 2012 3:22 am

Re: increase shared memory

Postby timpart » Mon May 19, 2014 5:42 pm

timpart
 
Posts: 302
Joined: Mon Dec 17, 2012 3:25 am
Location: UK

Re: increase shared memory

Postby greytery » Mon May 19, 2014 8:24 pm

tery
User avatar
greytery
 
Posts: 205
Joined: Sat Dec 07, 2013 12:19 pm
Location: ^Wycombe, UK

Re: increase shared memory

Postby shodruk » Tue May 20, 2014 8:12 am

Tim,

I don't completely understand your idea, but that is interesting.
Maybe Adapteva knows whether that is possible.

tery,

the Core-ID of E16 is set to (32-35, 8-11),
so the E16 can only access its east address (0-63, 12-63).
e.g.
0x00c00000 - 0x03ffffff (52MB)
0x04c00000 - 0x07ffffff (52MB)
...

Maybe the Core-ID of E64 is set to (32-39, 8-15),
so the E64 can only access its east address (0-63, 16-63).
e.g.
0x01000000 - 0x03ffffff (48MB)
0x05000000 - 0x07ffffff (48MB)
...

I don't know why the origin of the Core-ID is set to (32, 8).
Shodruky
shodruk
 
Posts: 464
Joined: Mon Apr 08, 2013 7:03 pm

Re: increase shared memory

Postby timpart » Tue May 20, 2014 4:50 pm

timpart
 
Posts: 302
Joined: Mon Dec 17, 2012 3:25 am
Location: UK

Re: increase shared memory

Postby greytery » Wed May 21, 2014 1:16 am

Thanks shodruck. Still struggling with the addressing concepts here .. - but having a lot of fun!

Tim - 'addressing memory on non-existent rows' .. Scary!
But what exactly do you mean?
And instead of moving to the left, what if we move to the right?

I'm not a HW/chip engineer- old ex-mainframe OS kernel hacker.
I don't understand how the FPGA is configured to map the E16 East-wards memory requests to the external DRAM, but it clearly does. There's some MMU magic/logic at the Zynq's Bank 35 interface to the E16.
OTOH, the FPGA also maps the ARM's memory requests onto the same DRAM - but represents that same physical space as different addresses for the host.
Seems that the memory can be as contiguous - or not - as the FPGA logic allows, or makes it appear to be. It's acting as a good old virtual paging kernel - like we had back in the good old '70s.

The FPGA provides the East eLink interface, then it must be aware of the Epiphany network routing protocol rules. For the default E16 placement of (32,8), then the FPGA may say : if the column number of an address request is less than 7, ship further East, else check row, etc. That gives a finite set of East and then North/South addresses. That is, along rows and then up/down columns that may have no physical cores on.
The further West/right we move the E16, there is larger FPGA virtual mapping space to the East because there are more columns. The potential for addresses sent to the FPGA interface by the E16 is limited to 4 rows (or they wouldn't get routed to the East interface), but the columns can be from 0 to 59. Similarly for the E64, but with 8 rows and 55 columns.

What would the addressing opportunities be if the E16 had coordinates of say, (32,60) to (35,63)?
(or some other position along the Western edge?)

Can the FPGA memory mapping really be this flexible?

The Parallella does not make use of the addressing to the West (a design choice somewhere), but that's effectively empty space.

tery
tery
User avatar
greytery
 
Posts: 205
Joined: Sat Dec 07, 2013 12:19 pm
Location: ^Wycombe, UK

Re: increase shared memory

Postby aolofsson » Wed May 21, 2014 6:41 am

User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: increase shared memory

Postby shodruk » Wed May 21, 2014 9:06 am

Whoa! That's really magical!!!! :o :o :o :o
How much resource is needed to implement memory hole remapper?
Shodruky
shodruk
 
Posts: 464
Joined: Mon Apr 08, 2013 7:03 pm

PreviousNext

Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 3 guests

cron