Results 1 to 3 of 3
  1. #1
    Join Date
    May 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    how to testing swap performance

    Hi everybody, as the title indicates, if there is a way to testing the swap performance.
    say there are two medias for swap, how to testing the swap performance on each and so I can choose the better one to use.

    Thanks very much in advance!




  2. #2
    Join Date
    Feb 2012
    Location
    Europe
    Posts
    138
    Thanks
    4
    Thanked 6 Times in 5 Posts
    Rep Power
    2
    Swap is using the HDD in raw format, means it have not overhead of the FS. To test it, the same as running a dd command to fill up a HDD. So i guess it's a little bit if nonsense to test the swap "benchmark".

    But when you want doing it, try it with dd.

    The only thing that can de/increase the performance is when you have a encryped swap paration.

    so far
    Akendo

    PS: When your using dd, you may have to recreate the swap header. mkswap is your friend for this.
    Feel free to follow my blog.

  3. #3
    Join Date
    May 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by Akendo View Post
    Swap is using the HDD in raw format, means it have not overhead of the FS. To test it, the same as running a dd command to fill up a HDD. So i guess it's a little bit if nonsense to test the swap "benchmark".

    But when you want doing it, try it with dd.

    The only thing that can de/increase the performance is when you have a encryped swap paration.

    so far
    Akendo

    PS: When your using dd, you may have to recreate the swap header. mkswap is your friend for this.

    Thanks for your response Akendo, it is very useful. Actually we want to use swap file to replace swap partition, could you please tell me what the difference between swap file and swap partition, are there any disadvantages for swap file? Thanks very much

 

 

Similar Threads

  1. How to add more swap on-the-fly?
    By carbon333 in forum Command Line
    Replies: 0
    Last Post: 02-16-2012, 04:20 PM
  2. A First Look At The Ubuntu 12.04 Performance
    By News in forum Linux News
    Replies: 0
    Last Post: 02-13-2012, 12:00 PM
  3. Ubuntu 11.10 vs. Mac OS X 10.7.2 Performance
    By News in forum Linux News
    Replies: 0
    Last Post: 01-30-2012, 10:05 PM
  4. Samba Performance tuning
    By News in forum Linux News
    Replies: 0
    Last Post: 01-27-2012, 08:02 AM
  5. Why The Radeon Gallium3D Performance Is Down
    By Fred in forum Linux News
    Replies: 0
    Last Post: 12-24-2011, 04:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

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








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,571
Threads: 3,920
Posts: 9,441
Top Poster: Fred (1,486)
Welcome to our newest member, jcfwt

» Links



Powered by vBadvanced CMPS