Opened 11 years ago

Closed 11 years ago

Last modified 4 years ago

#2018 closed enhancement (fixed)

Reduce memory footprint of Chillispot

Reported by: Carlos Sobrinho <epilog@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: chillispot memory Cc:


Reduce the amount of statically allocated connections. Reduces the memory from 4-5MB to less than 1MB. Been working very well in the last year.


diff -baurN --exclude='*~' --exclude='.#*' --exclude='.svn*' --exclude='.conf*' --exclude=dl --exclude=bin --exclude=build_mipsel --exclude=staging_dir_mipsel --exclude=toolchain_build_mipsel --exclude=package/config --exclude=autom4te.cache --exclude='*.tgz' --exclude='*.zip' --exclude='*.tar' --exclude='*.gz' --exclude='.tmp*' chillispot-1.1.0.orig/src/chilli.h chillispot-1.1.0/src/chilli.h
--- chillispot-1.1.0.orig/src/chilli.h  2006-10-19 00:01:55.000000000 +0100
+++ chillispot-1.1.0/src/chilli.h       2006-12-19 00:02:16.000000000 +0100
@@ -53,7 +53,7 @@
 /* #define COUNT_DOWNLINK_DROP 1 */
 /* #define COUNT_UPLINK_DROP 1 */

-#define APP_NUM_CONN 1024
+#define APP_NUM_CONN 128
 #define EAP_LEN 2048            /* TODO: Rather large */

 #define MACOK_MAX 16

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with [7859], thanks !

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.