Swap partition and swap file at the same time?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-2
down vote

favorite












I've added the swap file while having the swap partition:



NAME TYPE SIZE USED PRIO
/swapfile file 4G 6M -1
/dev/dm-0 partition 1,9G 0B -2


The size of RAM is 4GB. I'm on Linux Mint 18.3 MATE (based on Ubuntu 16.04)



Could anything possibly go wrong?



Is it worth to reinstall everything, increase swap partition and do not use swap file at all?










share|improve this question























  • No, why would that be a problem? You seem impatient, less then 5 minutes between the question and the follow up.
    – RalfFriedl
    22 hours ago










  • Why the down-votes (please give feedback). This may seem like a dumb question (to those that know), but to those that don't know it may not be dumb.
    – ctrl-alt-delor
    18 hours ago










  • Please tell why you think that this can not be done.
    – ctrl-alt-delor
    18 hours ago










  • I don't know why the down-votes. Apparently, somebody thinks that every person on this planet knows how Linux works and I'm a dumb guy. Didn't see a similar question on StackExchange, so I decided to ask straight.
    – Alexander Lavrenko
    17 hours ago










  • I've actually added swap file while having swap partition for now. Everything looks good just like I wanted. But I guess it's better to reinstall everything, increase swap partition and do not use swap file at all. Am I wrong?
    – Alexander Lavrenko
    17 hours ago














up vote
-2
down vote

favorite












I've added the swap file while having the swap partition:



NAME TYPE SIZE USED PRIO
/swapfile file 4G 6M -1
/dev/dm-0 partition 1,9G 0B -2


The size of RAM is 4GB. I'm on Linux Mint 18.3 MATE (based on Ubuntu 16.04)



Could anything possibly go wrong?



Is it worth to reinstall everything, increase swap partition and do not use swap file at all?










share|improve this question























  • No, why would that be a problem? You seem impatient, less then 5 minutes between the question and the follow up.
    – RalfFriedl
    22 hours ago










  • Why the down-votes (please give feedback). This may seem like a dumb question (to those that know), but to those that don't know it may not be dumb.
    – ctrl-alt-delor
    18 hours ago










  • Please tell why you think that this can not be done.
    – ctrl-alt-delor
    18 hours ago










  • I don't know why the down-votes. Apparently, somebody thinks that every person on this planet knows how Linux works and I'm a dumb guy. Didn't see a similar question on StackExchange, so I decided to ask straight.
    – Alexander Lavrenko
    17 hours ago










  • I've actually added swap file while having swap partition for now. Everything looks good just like I wanted. But I guess it's better to reinstall everything, increase swap partition and do not use swap file at all. Am I wrong?
    – Alexander Lavrenko
    17 hours ago












up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











I've added the swap file while having the swap partition:



NAME TYPE SIZE USED PRIO
/swapfile file 4G 6M -1
/dev/dm-0 partition 1,9G 0B -2


The size of RAM is 4GB. I'm on Linux Mint 18.3 MATE (based on Ubuntu 16.04)



Could anything possibly go wrong?



Is it worth to reinstall everything, increase swap partition and do not use swap file at all?










share|improve this question















I've added the swap file while having the swap partition:



NAME TYPE SIZE USED PRIO
/swapfile file 4G 6M -1
/dev/dm-0 partition 1,9G 0B -2


The size of RAM is 4GB. I'm on Linux Mint 18.3 MATE (based on Ubuntu 16.04)



Could anything possibly go wrong?



Is it worth to reinstall everything, increase swap partition and do not use swap file at all?







ubuntu linux-mint partition swap






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 14 hours ago

























asked 22 hours ago









Alexander Lavrenko

185




185











  • No, why would that be a problem? You seem impatient, less then 5 minutes between the question and the follow up.
    – RalfFriedl
    22 hours ago










  • Why the down-votes (please give feedback). This may seem like a dumb question (to those that know), but to those that don't know it may not be dumb.
    – ctrl-alt-delor
    18 hours ago










  • Please tell why you think that this can not be done.
    – ctrl-alt-delor
    18 hours ago










  • I don't know why the down-votes. Apparently, somebody thinks that every person on this planet knows how Linux works and I'm a dumb guy. Didn't see a similar question on StackExchange, so I decided to ask straight.
    – Alexander Lavrenko
    17 hours ago










  • I've actually added swap file while having swap partition for now. Everything looks good just like I wanted. But I guess it's better to reinstall everything, increase swap partition and do not use swap file at all. Am I wrong?
    – Alexander Lavrenko
    17 hours ago
















  • No, why would that be a problem? You seem impatient, less then 5 minutes between the question and the follow up.
    – RalfFriedl
    22 hours ago










  • Why the down-votes (please give feedback). This may seem like a dumb question (to those that know), but to those that don't know it may not be dumb.
    – ctrl-alt-delor
    18 hours ago










  • Please tell why you think that this can not be done.
    – ctrl-alt-delor
    18 hours ago










  • I don't know why the down-votes. Apparently, somebody thinks that every person on this planet knows how Linux works and I'm a dumb guy. Didn't see a similar question on StackExchange, so I decided to ask straight.
    – Alexander Lavrenko
    17 hours ago










  • I've actually added swap file while having swap partition for now. Everything looks good just like I wanted. But I guess it's better to reinstall everything, increase swap partition and do not use swap file at all. Am I wrong?
    – Alexander Lavrenko
    17 hours ago















No, why would that be a problem? You seem impatient, less then 5 minutes between the question and the follow up.
– RalfFriedl
22 hours ago




No, why would that be a problem? You seem impatient, less then 5 minutes between the question and the follow up.
– RalfFriedl
22 hours ago












Why the down-votes (please give feedback). This may seem like a dumb question (to those that know), but to those that don't know it may not be dumb.
– ctrl-alt-delor
18 hours ago




Why the down-votes (please give feedback). This may seem like a dumb question (to those that know), but to those that don't know it may not be dumb.
– ctrl-alt-delor
18 hours ago












Please tell why you think that this can not be done.
– ctrl-alt-delor
18 hours ago




Please tell why you think that this can not be done.
– ctrl-alt-delor
18 hours ago












I don't know why the down-votes. Apparently, somebody thinks that every person on this planet knows how Linux works and I'm a dumb guy. Didn't see a similar question on StackExchange, so I decided to ask straight.
– Alexander Lavrenko
17 hours ago




I don't know why the down-votes. Apparently, somebody thinks that every person on this planet knows how Linux works and I'm a dumb guy. Didn't see a similar question on StackExchange, so I decided to ask straight.
– Alexander Lavrenko
17 hours ago












I've actually added swap file while having swap partition for now. Everything looks good just like I wanted. But I guess it's better to reinstall everything, increase swap partition and do not use swap file at all. Am I wrong?
– Alexander Lavrenko
17 hours ago




I've actually added swap file while having swap partition for now. Everything looks good just like I wanted. But I guess it's better to reinstall everything, increase swap partition and do not use swap file at all. Am I wrong?
– Alexander Lavrenko
17 hours ago










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










you can use both at same time, file is just slower.
so NO there is no risk doing that but performances if file writing is on while other activities on disks are provided.



But you should use file as low priority & swap disk partition as first priority to limit performance loose when swap is used.






share|improve this answer






















  • Thank for the answer. Right now, I don't see the difference but, we'll see...
    – Alexander Lavrenko
    17 hours ago










  • Could you expand on this a little? As it stands, this is a comment, not an answer.
    – terdon
    16 hours ago






  • 1




    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – Romeo Ninov
    14 hours ago










  • I complete the answer if it's not clear enough ...
    – francois P
    10 hours ago










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481389%2fswap-partition-and-swap-file-at-the-same-time%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










you can use both at same time, file is just slower.
so NO there is no risk doing that but performances if file writing is on while other activities on disks are provided.



But you should use file as low priority & swap disk partition as first priority to limit performance loose when swap is used.






share|improve this answer






















  • Thank for the answer. Right now, I don't see the difference but, we'll see...
    – Alexander Lavrenko
    17 hours ago










  • Could you expand on this a little? As it stands, this is a comment, not an answer.
    – terdon
    16 hours ago






  • 1




    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – Romeo Ninov
    14 hours ago










  • I complete the answer if it's not clear enough ...
    – francois P
    10 hours ago














up vote
1
down vote



accepted










you can use both at same time, file is just slower.
so NO there is no risk doing that but performances if file writing is on while other activities on disks are provided.



But you should use file as low priority & swap disk partition as first priority to limit performance loose when swap is used.






share|improve this answer






















  • Thank for the answer. Right now, I don't see the difference but, we'll see...
    – Alexander Lavrenko
    17 hours ago










  • Could you expand on this a little? As it stands, this is a comment, not an answer.
    – terdon
    16 hours ago






  • 1




    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – Romeo Ninov
    14 hours ago










  • I complete the answer if it's not clear enough ...
    – francois P
    10 hours ago












up vote
1
down vote



accepted







up vote
1
down vote



accepted






you can use both at same time, file is just slower.
so NO there is no risk doing that but performances if file writing is on while other activities on disks are provided.



But you should use file as low priority & swap disk partition as first priority to limit performance loose when swap is used.






share|improve this answer














you can use both at same time, file is just slower.
so NO there is no risk doing that but performances if file writing is on while other activities on disks are provided.



But you should use file as low priority & swap disk partition as first priority to limit performance loose when swap is used.







share|improve this answer














share|improve this answer



share|improve this answer








edited 10 hours ago

























answered 21 hours ago









francois P

942114




942114











  • Thank for the answer. Right now, I don't see the difference but, we'll see...
    – Alexander Lavrenko
    17 hours ago










  • Could you expand on this a little? As it stands, this is a comment, not an answer.
    – terdon
    16 hours ago






  • 1




    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – Romeo Ninov
    14 hours ago










  • I complete the answer if it's not clear enough ...
    – francois P
    10 hours ago
















  • Thank for the answer. Right now, I don't see the difference but, we'll see...
    – Alexander Lavrenko
    17 hours ago










  • Could you expand on this a little? As it stands, this is a comment, not an answer.
    – terdon
    16 hours ago






  • 1




    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – Romeo Ninov
    14 hours ago










  • I complete the answer if it's not clear enough ...
    – francois P
    10 hours ago















Thank for the answer. Right now, I don't see the difference but, we'll see...
– Alexander Lavrenko
17 hours ago




Thank for the answer. Right now, I don't see the difference but, we'll see...
– Alexander Lavrenko
17 hours ago












Could you expand on this a little? As it stands, this is a comment, not an answer.
– terdon
16 hours ago




Could you expand on this a little? As it stands, this is a comment, not an answer.
– terdon
16 hours ago




1




1




This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
– Romeo Ninov
14 hours ago




This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
– Romeo Ninov
14 hours ago












I complete the answer if it's not clear enough ...
– francois P
10 hours ago




I complete the answer if it's not clear enough ...
– francois P
10 hours ago

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481389%2fswap-partition-and-swap-file-at-the-same-time%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?