[Ilugc] Can we access the SWAP SPACE in Python

  • From: arulalant@xxxxxxxxx (Arulalan T)
  • Date: Mon, 10 Oct 2011 11:44:40 +0530

Hai,

2011/10/7 Bharathi Subramanian <bharathi.list at gmail.com>


 > yup. It may be slower to access the swap area rather than RAM, but it is
much faster than access the data of files which are stored in the hard
disk.

Swap is in HDD. So much improvement. You can try the mmap option
suggested by Raja. But you need to manage the data handling. Another
option, Create RamFS, load data files into it. So that you can access
it as if from HDD file and get the maximum speed. Remember, RamFS eat
a fixed amount the RAM and handle the data persistence.


RamFS is really awesome.

Thanks for your suggestion. It should help me a lot.

-- 
Regards,
Arulalan.T
Project Associate
Centre for Atmospheric Sciences
Indian Institute of Technology Delhi

My Experiments In Gnu/Linux !  : http://tuxcoder.wordpress.com
Kanchi Linux User Group Rocks ! : http://kanchilug.wordpress.com

Other related posts: