[Transformer TF300T Android Development] tux-friend:
Ok, I found the solution by myself and I'd like to share it now. But at first I give some short introduction. While some of the professional users will probably know about zram, others won't so that it it's good to know what zram is about.

On systems with little RAM memory installed zram can enhance your system by creating a compressed RAM block device. This device (linked to /dev/zramX) can be used for swapping if your normal RAM memory has no capacity left. In this case data from the normal RAM memory will be compressed and stored on the zram device. Compression ratio is 1:2 in average but can be also 1:3 according to some websites.

By this way zram is making more physical memory available to your applications and as a conclusion the sparse available RAM on your tablet (1GB isn't really much) can be used more efficiently . For example if you address 512MB disk size for zram and in total you have 1GB RAM memory installed, in the best case zram can enhance your system as if 1.5 till 2GB RAM would be installed. That's cool don't you think so?

But swapping is not the only possible purpose: you could also use zram to generate a compressed ramdisk which you can easily access to store temporary files, your browser cache or to use it temporarily for your downloads so that you can check the files at first before you decided to save them permanently. By this way you could extend the life of your SD card a little.

So there are many possible advantages but there is a little drawback: effectively, you get some extra RAM for free at the cost of some extra CPU load because of the compression activity. But for me that's fine. On the one hand, I made the experience that some higher CPU load could be only observed if there was almost no capacity left on my normal RAM memory and furthermore the load was rather moderate. However, this will also depend on other settings of your system like swappiness. On the other hand, if you have already experienced situations were you have run out of memory and your valuable work was lost because the program was suddenly shut down then you don't mind this little drawbacks.

Ok, that was my introduction. Now I focus on the situation for the tablet: Actually, everything what you need to enable zram is already there if you use the xubuntu rootfs of Geometry because the zram kernel module has been already compiled. The only missing point is that it's not initialized and configured. I have done some research in the internet and probably the best option is to use the init.d system so that zram will be automatically enabled during booting.

For this purpose I have modified some code and saved it as a script. You can use it by copying it to /etc/init.d/ . Make it executable and finally perform following command:

sudo update-rc.d zram defaults

For more details please also check the comments and instruction within the script. Basically, that's all. You can manually start the script via

/etc/init.d/zram start

or after next booting it should start automatically.

I hope you will enjoy. And if you really, really need more swap on your tablet you could even create a second swap file on your sd card and set priorities so that zram will be always used at first and if it's inevitable due to lack of capacity then the swap of your sd card will be used at a second stage.

P.S.: If this info was useful for you, please don't forget to hit the thanks button because I could need some more points :)