Results 1 to 3 of 3

Thread: Swap space for BT4R1 on 8gb flash drive

  1. #1
    Just burned his ISO
    Join Date
    Aug 2010
    outside looking in

    Default Swap space for BT4R1 on 8gb flash drive

    I run BT4R1 from a PNY 8GB flash drive. The host node has 4GB of ram. BT will become extremely slow when opening multiple windows or GUI's.

                    total                used          free          shared       buffers           cached
    mem:    2979092          1661708      1359136            0           174612         1143088
    -/+ buffers/cache:         302256      2676836           
    swap                                   0                0
    #cat /proc/sys/vm/swappiness
                   file sys.      mnt.pnt.          label            size           used          unused          flags            
    /dev/sdb1 fat32       /media/cdrom0                   3.42gb       1.91 gb      1.51gb         boot
    /dev/sdb2 ext3                               casper-rw    4.23gb        ----        ----
    /dev/sdb2 is unable to find mnt point
    unable to read contents of file system
    root@bt:~# fdisk -l
    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x9f4ac28e
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        1530    12288000   27  Unknown
    /dev/sda2   *        1530        1543      102400    7  HPFS/NTFS
    /dev/sda3            1543       38914   300178776    7  HPFS/NTFS
    Disk /dev/sdb: 8210 MB, 8210350080 bytes
    74 heads, 10 sectors/track, 21670 cylinders
    Units = cylinders of 740 * 512 = 378880 bytes
    Disk identifier: 0x04030201
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1        9687     3584185    b  W95 FAT32
    /dev/sdb2            9688       21670     4433710   83  Linux

    root@bt:~# cat /etc/fstab
    aufs / aufs rw 0 0
    tmpfs /tmp tmpfs nosuid,nodev 0 0
    root@bt:~# sudo blkid
    /dev/sda1: UUID="DAA41C49A41C2B11" LABEL="PQSERVICE" TYPE="ntfs"
    /dev/sda5: TYPE="swap" UUID="4b76e31d-3c11-4a0b-a521-8fa1b2029440"
    /dev/sdb5: UUID="532464e8-0659-436e-8b50-0fb0290abbb2" TYPE="swap"
    /dev/loop0: TYPE="squashfs"
    /dev/sda2: UUID="D6D20D5CD20D41EB" LABEL="SYSTEM RESERVED" TYPE="ntfs"
    /dev/sda3: UUID="88321B2C321B1F2E" LABEL="Gateway" TYPE="ntfs"
    /dev/sda4: UUID="705a4272-401d-4fbc-b111-6124457f5a16" TYPE="swap"
    /dev/sdb1: UUID="4C63-CF58" TYPE="vfat"
    /dev/sdb2: LABEL="casper-rw" UUID="ae1c708b-1708-4d36-92aa-f36a369c1238" TYPE="e           xt3"
    root@bt:~# mount
    tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
    /proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
    varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
    udev on /dev type tmpfs (rw,mode=0755)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
    rootfs on / type rootfs (rw)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    /dev/scd0 on /media/cdrom0 type iso9660 (ro,noatime)
    /dev/loop0 on /rofs type squashfs (ro,noatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
    /dev/scd0 on /media/AWUS036NH type iso9660 (ro,nosuid,nodev,noatime,uhelper=hal,           uid=0,utf8)

    My question is do I need swap space or is it something else. Thanks for any replies.
    Last edited by Archangel-Amael; 09-01-2010 at 07:14 PM. Reason: Added code tags for clarity.

  2. #2

    Default Re: Swap space for BT4R1 on 8gb flash drive

    If backtrack has 4GB of ram you don't need swap space.

    From your outputs i can see 1359136 bytes free, so it's not a memory problem. Probably the bottleneck is the data transfer to&from the USB flash drive.

    Please, consider the virtualization or the installation of BT if you need better performance when running multiple applications.

  3. #3
    Just burned his ISO
    Join Date
    Aug 2010
    outside looking in

    Default Re: Swap space for BT4R1 on 8gb flash drive

    thanks... install to hdd it is.

Similar Threads

  1. Swap Space Usen ? Versions Upgrade ? Changes Gespeichert?
    By creepy_death23 in forum Anfänger Ecke
    Replies: 2
    Last Post: 11-11-2009, 07:56 AM
  2. Swap space not working
    By cnr0616 in forum OLD BackTrack 4 General Support
    Replies: 2
    Last Post: 07-09-2009, 01:55 PM
  3. Replies: 3
    Last Post: 02-16-2009, 12:16 PM
  4. Swap space issue
    By wildcat in forum OLD Newbie Area
    Replies: 6
    Last Post: 05-20-2008, 10:57 AM
  5. Laptop: Swap Space Memory Limitations
    By Psmecker in forum OLD LiveCD Support
    Replies: 1
    Last Post: 05-02-2008, 03:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts