Swap space is located on hard drives, which have a slower access time than physical memory. You can either use a dedicated harddisk partition to add new swap space, or create a swap file on an existing filesystem and use it as swap space.