by kmihelich » Thu Jun 23, 2011 8:35 pm
On a fast hard drive, IDE or SATA, it doesn't really matter as much that it's on the same drive. The idea of swap is it's overflow for when you run out of physical RAM. Even Linux desktops have to start up a lot of stuff to overflow the amount of RAM that comes in systems nowadays. Now, specifically addressing plugs, swapping to the same drive, or even two drives.. if they're connected through USB it's going to cause a bottleneck because USB and the drives connected can only perform so many operations so fast. USB doesn't multitask like a direct SATA connection, and with plugs there is only one hub that everything is going through. With SATA plugs like the Pro, eSATA Sheeva, or GoFlex's, this is less of an issue because SATA can handle it. I mentioned in another thread that the way I get around this for development purposes is to swap to a file on my laptop attached using iSCSI. This way it all goes through the network and doesn't negatively impact compiling when a preprocessing or linking operation starts chewing up hundreds of megs of memory.
In answer to the original question, if your main drive is connected to the Pro via SATA, leave swap on that drive. Moving it to USB will negatively impact your performance.
Arch Linux ARM exists and continues to grow through community support, please
donate today!