Slashdot Mirror


Is Swap Necessary?

johnnyb writes "Kernel Trap has a great conversation on swap, whether it's necessary, why swapless systems might seem faster, and an overall discussion of swap issues in modern computing. This is often an issue for system administrators, and this is a great set of posts about the issue."

4 of 581 comments (clear)

  1. Re:Swap sucks by Anonymous Coward · · Score: -1, Troll

    better idea
    lets install a pickle sized tracking device in his anus, maybe he will think twice about molesting people then.

  2. Re:You've some good points... by Anonymous Coward · · Score: -1, Troll

    Any facts to support your claims that swap space is necessary?

  3. Re:The Kernel Can Take a Hint by Spy+Hunter · · Score: 0, Troll

    Requiring extra linux-specific code just to get decent performance is dumb. Sounds to me like the kernel needs a simple profiler to assess the way files are being accessed. Large file + sequential access = read-ahead w/ small cache; large file + random access = large cache w/ recent pieces; small files + repeated access = large cache holding complete files; etc. Would this not solve the problem for everyone?

    --
    main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}