Performance Bottlenecks and Swap
#7
New thumbdrive came in today! 64GB and no bigger than the little wireless attachment for my mouse. Will attach pics so you can see the size and then show you what the configuration looks like live (can provide some instructions for step-by-step but I suspect that most folks really interested in this may need only minimal guidance at most.

       

So i installed the drive, and as usual it was formatted for Windows. I actually don't mind this for now as I'm just putting backups on it and can use it to more easily transfer certain files back and forth from a win host (and Linux has no trouble with the Win FAT32 (LBA) filesystem), but I deleted it and set a new one up of 53GB size (total disk was 59.8 using full binary gigs) and the rest in swap.

added this line in fstab so it will only try to mount if Linux sees it and runs at a lower priority than the zram swap volumes:


Code:
/dev/sda2   swap   swap   sw,nofail,pri=1 0 0

Now, /proc/swaps shows this:

Code:
root@pinebook:~# cat /proc/swaps
Filename                Type        Size    Used    Priority
/dev/zram0                              partition    254540    0    5
/dev/zram1                              partition    254540    0    5
/dev/zram2                              partition    254540    0    5
/dev/zram3                              partition    254540    0    5
/dev/sda2                               partition    7093244    0    1

and in top it shows a total of just over 8 gigs swap. Will fiddle around and see what happens when virtual memory is pushed past 3GB - I would expect some slowing but probably not nearly as bad.
------
it doesn't get happy
it doesn't get sad
it just runs programs


Messages In This Thread
Performance Bottlenecks and Swap - by zer0sig - 06-30-2017, 02:04 AM
RE: Performance Bottlenecks and Swap - by Luke - 06-30-2017, 05:54 AM
RE: Performance Bottlenecks and Swap - by zer0sig - 06-30-2017, 10:47 AM
RE: Performance Bottlenecks and Swap - by zer0sig - 07-01-2017, 09:50 PM
RE: Performance Bottlenecks and Swap - by Luke - 07-04-2017, 07:30 AM
RE: Performance Bottlenecks and Swap - by zer0sig - 07-06-2017, 05:37 PM
RE: Performance Bottlenecks and Swap - by shirman - 08-13-2017, 01:14 PM
RE: Performance Bottlenecks and Swap - by zer0sig - 07-07-2017, 04:37 PM
RE: Performance Bottlenecks and Swap - by guidol - 07-08-2017, 04:42 AM
RE: Performance Bottlenecks and Swap - by Luke - 07-08-2017, 07:51 AM
RE: Performance Bottlenecks and Swap - by guidol - 07-08-2017, 10:42 AM
RE: Performance Bottlenecks and Swap - by zer0sig - 07-13-2017, 12:22 PM
RE: Performance Bottlenecks and Swap - by Luke - 07-13-2017, 12:42 PM
RE: Performance Bottlenecks and Swap - by zer0sig - 08-18-2017, 07:09 PM
RE: Performance Bottlenecks and Swap - by shirman - 08-19-2017, 11:37 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)