|
-
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!
-
-
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.
-
-
 Originally Posted by Akendo
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
-
By carbon333 in forum Command Line
Replies: 0
Last Post: 02-16-2012, 04:20 PM
-
By News in forum Linux News
Replies: 0
Last Post: 02-13-2012, 12:00 PM
-
By News in forum Linux News
Replies: 0
Last Post: 01-30-2012, 10:05 PM
-
By News in forum Linux News
Replies: 0
Last Post: 01-27-2012, 08:02 AM
-
By Fred in forum Linux News
Replies: 0
Last Post: 12-24-2011, 04:37 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Check out Linux Central for Linux software and other goodies!
» Recent Threads
» Stats
Members: 3,571
Threads: 3,920
Posts: 9,441
Top Poster: Fred (1,486)
Welcome to our newest member, jcfwt
» Links
|
Bookmarks