Hi Eun Seok, Kim,

On 11/12/2012 01:00 AM, 김은석 wrote:

> I have an issue in the "part_blk" Example code.
> I have tested the program on the pandaboard with a little modifcation.
> I have "Packet Overrun" problem when i apply request size of 128kbytes.
> Could you please advice me how can i solve this issue.
> Following Example code is the modified version of "part_blk" Example.


A quick inspection revealed that the default backing-store size of the
'Block::Connection' is set to 128KB, which is pretty small (see:
os/include/block_session/connection.h). Thus allocations of 128KB might
even fail. The 'Block::Connection' takes the 'tx_buf_size' as second
argument. To set the backing-store to one MB, you would have to
initialize the connection like this:

'static Block::Connection _blk(&_block_alloc, 1024 * 1024);'

Regards,

Sebastian

-- 
Sebastian Sumpf
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Genode-main mailing list
Genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to