1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

AC86U Swap File

Discussion in 'Asuswrt-Merlin' started by g1dtf, Jun 30, 2020.

  1. g1dtf

    g1dtf Occasional Visitor

    Joined:
    Oct 28, 2012
    Messages:
    29
    Location:
    UK
    I am wanting to use a swap file on my AC86U (latest merlin) with a 32gb Samsung fit plus USB stick. Is there any benefit from using a swap partition rather than just creating a swap file on the stick. I am currently running diversion and nvpnmng script, what size swap file do people recommend on the AC86U
     
  2. QuikSilver

    QuikSilver Very Senior Member

    Joined:
    Jan 30, 2019
    Messages:
    684
    Location:
    BFE
    Use AMTM and use the recommended swap file size (2gb I believe). Option SW
     
  3. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    6,987
    Location:
    Switzerland
    The SWAP file is supported and can be managed by these scripts: Skynet, Diversion and amtm.
    That is not the case for a SWAP partition. The choice is yours ;)
     
    jsbeddow and QuikSilver like this.
  4. g1dtf

    g1dtf Occasional Visitor

    Joined:
    Oct 28, 2012
    Messages:
    29
    Location:
    UK
    Thanks guys looks like i'll be going for a 2gb swap file.
     
    QuikSilver likes this.
  5. bbunge

    bbunge Very Senior Member

    Joined:
    Aug 11, 2014
    Messages:
    1,214
    Location:
    Pennsylvania USA
    I recommend a swap partition vs. a swap file. I have had swap files corrupted on a USB drive. Never have had issues with a swap partition.
    Of course there are those who will argue this point! Granted, a swap file is easier....

    Edit: And make sure you set the USB 3 port to USB 2 mode. Even if you have a USB 3 thumb drive. USB 3 mode will give problems.