I have several .txt
files (each around 15MB) that I want to store on my AX23 router running OpenWRT. However, the available storage space on the router is only around 7MB.
Since I’ll be adding and removing files I will run out of space on the first file, is there any work way around this ?
compression ?
1 Like
I can't the files would be read from c binary again and again to compare domains and ip lists
Use ramdisk (/tmp)
i dont understand /tmp will have extra space ? is there a doc on this ?
/tmp is RAM, you can make it fit even more data, by installing kmod-zram and have compression (with a performance penalty, of course)
Have your c binary decompress on the fly.
A hand full of CPU is less burden then using flash or memory for uncompressed text data.
By default /tmp
is allocated 1/2 the physical RAM. Does your AX23 have a USB port? If so you could consider external storage.
AX23 doesn't have an USB port.
2 Likes