Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kvasilak
PostPosted: Apr 19, 2012 - 04:32 PM
Newbie


Joined: Jan 15, 2011
Posts: 19


I’m looking for help on increasing the buffer size on routers for their children. I’ve noticed under heavy usage that if the coordinator hits the router with 3-4 messages before it has a chance to forward to children then messages will get lost.

I’m interested in understanding the exact behavior of the buffering? Is it a buffer per child or a global buffer for all children?

Where is the buffer, and can its size be easily increased?

I am trying to get a network of 100 devices with sleeping, so the routers may have to buffer a significant number of packets.

Thanks
Keith
 
 View user's profile Send private message  
Reply with quote Back to top
westfw
PostPosted: Apr 19, 2012 - 05:11 PM
Resident


Joined: Jun 19, 2002
Posts: 957
Location: SF Bay area

Have you read RFC 970 - "On Packet Switches With Infinite Storage" ?

More recent thinking is that most routers don't have enough buffering after all, but it's still a more interesting problem than you'd think.
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Apr 19, 2012 - 09:01 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA

You need to change CS_NWK_BUFFERS_AMOUNT; buffers are shared between all devices and some of them are reserved for transit frames.

But for 100 devices you'll never have enough buffers, you need to rethink your application design.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
kvasilak
PostPosted: Apr 19, 2012 - 09:42 PM
Newbie


Joined: Jan 15, 2011
Posts: 19


thanks west I'll find the rfc-970

And thanks alexru, I guess I should have made it clear that we are using multiple routers, probably 10-20, but even at 20, thats 5 devices per router and were loosing packets at 3...

I see CS_NWK_BUFFERS_AMOUNT is set to 4, that makes sense, Thanks Man

Keith

I'll see if I can squeeze CS_NWK_BUFFERS_AMOUNT;
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits