LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-13-2017, 04:56 AM   #1
dowelld
Member
 
Registered: Jan 2005
Location: Somerset, UK
Distribution: Slackware
Posts: 56

Rep: Reputation: 11
Baffling memory issue


Hi Guys,

I'm playing around with slackware ARM 14.0 on a Raspberry Pi Model B.
So 256MB of memory, onto which I've appended 500MB (ish) of swap space.

I upload a 488MB file (via FTP) to it, and according to vmstat, the file never makes it into swap or onto the SD Card.

vmstat 10 for the duration of the upload shows
Code:
 0  0      0 152460   6608  44708    0    0     0     0  300   72  0  1 99  0
 0  0      0 152460   6608  44708    0    0     0     0  290   68  0  0 100  0
 0  1      0  93772   6620 100272    0    0     0     0 1214  620  1 51 36 12
 0  1      0  48424   6632 145056    0    0     0     0 1011 1528  1 42  0 58
 0  1      0  49028   3060 146888    0    0     0     0 1217 1092  5 47  0 48
 1  0      0  48996   3064 149160    0    0     0     0 1399 1643  1 56  0 43
 1  0      0  46688   3072 151400    0    0     0     0 1098  319  1 27  0 72
 0  1      0  49060   3064 146828    0    0     0     0 1507  922  1 46  0 54
 0  1      0  49208   3068 146544    0    0     0     0 1382 1754  1 56  0 43
 0  1      0  47628   3076 148272    0    0     0     0 1397 1271  1 42  0 58
 0  1      0  49180   3080 146572    0    0     0     0 1457  806  1 53  0 46
 0  1      0  49060   3072 146720    0    0     0     0 1295  866  0 43  0 56
 0  0      0  48376   3076 145184    0    0     0     0 1863  529  9 25 59  7
 0  0      0  43320   3084 150228    0    0     0     0 2151  364 21 15 64  0
 0  0      0  47236   3092 146460    0    0     0     0 2101  352 28  6 65  0
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
 1  0      0  42120   3096 151528    0    0     0     0 2180  352 18 13 68  0
 1  0      0  45784   3092 147996    0    0     0     0 2112  339 12 19 69  0
 0  0      0  41132   3084 152612    0    0     0     0 2061  337  9 25 66  0
 2  0      0  44700   3084 149184    0    0     0     0 2102  346 24 12 64  0
 1  0      0  48616   3084 145372    0    0     0     0 2135  345 26  7 67  0
 0  0      0  44056   3084 149956    0    0     0     0 2228  351 18 10 72  0
 0  0      0  43652   3076 150432    0    0     0     0 1555  256  7 13 79  0
 1  0      0  47236   3060 146860    0    0     0     0 2185  342 15 19 66  0
 0  0      0  42376   3060 151708    0    0     0     0 2160  351 28  8 63  0
 0  0      0  47476   3052 146612    0    0     0     0 1859  313 21  7 72  0
 1  0      0  42316   3052 151732    0    0     0     0 2122  348 17 13 71  0
 0  0      0  45856   3052 148256    0    0     0     0 2118  346  6 28 66  0
 0  0      0  42204   3052 152000    0    0     0     0 1933  319 17 13 70  0
 0  0      0  46548   3052 147592    0    0     0     0 1919  334 23  9 68  0
 0  0      0  41476   3052 152616    0    0     0     0 2116  352 17 12 71  0
 1  0      0  44956   3052 149136    0    0     0     0 2222  344  9 22 69  0
 0  0      0  41296   3052 152752    0    0     0     0 1899  315 10 18 72  0
 2  0      0  45076   3052 149040    0    0     0     0 2175  344 25 10 65  0
 0  0      0  48540   3052 145536    0    0     0     0 2127  348 27  6 66  0
 0  0      0  41864   3060 150824    0    0     0     0 2197  483 32 25 43  0
 0  0      0  49412   3068 144636    0    0     0     0 1779  325 15  9 76  0
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
 1  0      0  44016   3068 150012    0    0     0     0 1978  350 14 17 68  0
 1  0      0  47992   3068 145976    0    0     0     0 2020  343 23 11 66  0
 1  0      0  43012   3068 151016    0    0     0     0 2128  358 22 10 67  0
 0  0      0  48472   3068 145584    0    0     0     0 1739  306 16  7 78  0
 0  0      0  44076   3068 149912    0    0     0     0 2158  348  7 25 68  0
 1  0      0  47632   3068 146396    0    0     0     0 2209  358 22 14 64  0
 0  0      0  42520   3068 151560    0    0     0     0 2196  358 32  4 64  0
 0  0      0  48204   3068 145856    0    0     0     0 1689  303 16  9 75  0
 1  0      0  43192   3060 150864    0    0     0     0 2146  347  9 21 70  0
 0  0      0  46672   3060 147360    0    0     0     0 2157  352 11 22 67  0
 1  0      0  42908   3060 151084    0    0     0     0 1928  318 23  9 67  0
 0  0      0  41576   3060 152552    0    0     0     0 1492  266 15  9 76  0
 1  0      0  44992   3060 149032    0    0     0     0 2067  334 18  9 72  0
 0  0      0  49192   3060 144696    0    0     0     0 2016  326  4 28 68  0
 0  0      0  48236   3060 146336    0    0     0     0 1982  282 13 17 70  0
 0  0      0 177812   3072  23240    0    0     0     0  326   88  1  5 94  0
If it isn't going to swap, or to io, and it's bigger than the total memory available to the system.... how is the VFS handling it?

Is vmstat broken?
 
Old 01-13-2017, 12:33 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
The SD is faster than your FTP line so it is not surprising that you have no swap activity. You can almost certainly write to the SD faster than the data arrives in memory.

I am not sure that you have told vmstat to report SD activity. Could you post the command you used to start vmstat?

----------------------
Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Out of memory (OOM killer) - what is causing my memory issue? gombi Linux - Server 21 06-10-2015 03:42 PM
[SOLVED] baffling perl module issue allied air Slackware 4 05-22-2011 07:28 PM
Inactive memory issue, Freebsd (memory leak?) JasperB *BSD 7 08-12-2008 03:19 AM
Baffling Remote X problem daleman Slackware 9 03-24-2005 07:58 AM
Baffling reboot/shutdown issue... tisource Linux - General 12 03-31-2003 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 01:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration