Author Topic: How to configure PI to spread swap files  (Read 3447 times)

Offline geomcd1949

  • Newcomer
  • Posts: 16
How to configure PI to spread swap files
« on: 2014 July 31 19:51:11 »
On PI's 'Systems Requirements' page, there is the following paragraph:

"Parallel Swap File Storage

Starting from version 1.4, PixInsight uses parallel disk I/O operations to generate and maintain temporary swap disk files. When two or more physical disk drives are available, PixInsight can be configured to spread swap files on all disks (no specific limit), and read/write them through parallel execution threads running concurrently."

Am asking for instruction on how, exactly, to configure PI to spread the swap files.

Thanks.

~George

Offline NGC7789

  • PixInsight Old Hand
  • ****
  • Posts: 391
Re: How to configure PI to spread swap files
« Reply #1 on: 2014 July 31 19:53:29 »
In Global Preferences choose Directories and Network. Add multiple swap storage directories. Be sure they are on different physical drives.

Offline geomcd1949

  • Newcomer
  • Posts: 16
Re: How to configure PI to spread swap files
« Reply #2 on: 2014 July 31 20:04:06 »
Thanks, Josh

Wanted to confirm that.

Looks like PI creates (or accesses and uses) a file called /tmp. Is this file on the hard drive, or is it in RAM?

And, if I have a main SSD (where PI is loaded) and two HDDs, with swap files created on each of the HDDs, and a ramdisk, is it possible to create another swap file on the SSD?

Thanks.

~George

Offline NGC7789

  • PixInsight Old Hand
  • ****
  • Posts: 391
Re: How to configure PI to spread swap files
« Reply #3 on: 2014 July 31 20:06:33 »
the location of /tmp depends on your OS. If in Linux /tmp can be moved to ram but that may limit the amount of swap space. See my experiments on this here:

http://pixinsight.com/forum/index.php?topic=7302.msg49324#msg49324

Offline Pierre

  • Newcomer
  • Posts: 26
Re: How to configure PI to spread swap files
« Reply #4 on: 2014 August 27 09:58:14 »
I am currently using Ubuntu 12.04 with 3 HDs. They are auto mounted and when I go to the Folder icon the drives are there. The question is if I don't manually go to the mentioned folder and open the extra 2 drives, Pixinsight does not show the extra swap folders I have set up under Global/Directoires and Networking.
Any ideas of what I should be looking for? A friend did a clean install of 14.04 on the weekend and has the same issue.
Pierre

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: How to configure PI to spread swap files
« Reply #5 on: 2014 August 27 19:02:34 »
I am currently using Ubuntu 12.04 with 3 HDs. They are auto mounted and when I go to the Folder icon the drives are there. The question is if I don't manually go to the mentioned folder and open the extra 2 drives, Pixinsight does not show the extra swap folders I have set up under Global/Directoires and Networking.
Any ideas of what I should be looking for? A friend did a clean install of 14.04 on the weekend and has the same issue.
Pierre

Hi Pierre,
If the disks are mounted when you start PixInsight it should not happens.
When you open Preferences are the swap storage directories you have selected there?
Saludos, Alejandro. v

Offline Pierre

  • Newcomer
  • Posts: 26
Re: How to configure PI to spread swap files
« Reply #6 on: 2014 August 28 04:08:41 »
If I don't manually open the HDs first then no the swap files are not there. I believe that the auto mount must be broken. I will have to read up more on this and check after work.
Pierre

Offline Pierre

  • Newcomer
  • Posts: 26
Re: How to configure PI to spread swap files
« Reply #7 on: 2014 August 29 19:13:10 »
As I thought, auto mount was broken some how. So I redid it and now things are correct. All the swap files show up.
Pierre