Go Back   The UNIX and Linux Forums > Top Forums > Emergency UNIX and Linux Support !! Help Me!!
google site



Emergency UNIX and Linux Support !! Help Me!! Post your urgent questions here for highest visibility. Posting a new thread to this forum requires Bits. We monitor this forum to help people with emergencies, but we do not guarantee response time or answers. This forum is "best effort" only. Members who reply to posts here receive a bonus of 1000 Bits per reply.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Search this Thread
  #29  
Old 12-20-2009
Registered User
 

Join Date: Mar 2009
Posts: 143
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Scrutinizer View Post
I was inquiring about disk activity, but I did not expect any physical use of the swap file. The idea of adding swap was to increase the amount of virtual memory.
Yes, I didn't notice any disk activity beyond the normal.

(On an older computer I had serious problems develop related to the hard drive DMA, so I'm fairly sensitive to this.)

Quote:
Originally Posted by Scrutinizer View Post
These numbers:


Code:
VmallocTotal:   34359738367 kB
VmallocUsed:      302656 kB
VmallocChunk:   34359434043 kB

Look strange . I mean 32 TeraByte seems a bit rich to me. Can it be that there is a serious bug in your kernel?
Wow, I had not noticed how large those were. (I forgot it was in kB not in B.) For comparison, what is yours at -- now or typically? I have no basis for comparison.
Sponsored Links
  #30  
Old 12-21-2009
root cause analyst
 

Join Date: Nov 2008
Location: Amsterdam
Posts: 1,862
Thanks: 6
Thanked 105 Times in 101 Posts
What I had hoped for was less disk activity, because enlarging virtual memory should influence the paging related decisions by the OS.

About the 32TiB. These values may well be normal. At the moment I only have access to a 32-bit OS with these values:

Code:
VmallocTotal:   770040 kB
VmallocUsed:      4288 kB
VmallocChunk:   765520 kB.

I will compare your numbers to some 64-bit versions later on.
What distribution and kernel version are you using?

Last edited by Scrutinizer; 12-21-2009 at 01:30 AM..
  #31  
Old 12-21-2009
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 7,840
Thanks: 28
Thanked 43 Times in 21 Posts
It has been a long time, but I recall Linux sometimes ships with a number of kernel images and some can be huge. The reason for this is, of course, that some Linux distributions want to have a kernel image that has all possible device drivers built into the kernel so installation into new hardware is easy (all devices are recognized, including all/most graphic cards, network cards, host adapters, etc).

Then, of course, after making some notes on the required devices after an initial boot, a new kernel should be rebuilt and that kernel is much, much smaller.

I've not been following this thread very closely, but perhaps the kernel was not built compactly for the specific hardware and is simply too huge, supporting many necessary devices? Did you build a custom kernel or use a huge default one?

For example, our current running kernal is:


Code:
$ du -h vmlinuz-2.6.31-15-server
3.8M    vmlinuz-2.6.31-15-server

  #32  
Old 12-21-2009
root cause analyst
 

Join Date: Nov 2008
Location: Amsterdam
Posts: 1,862
Thanks: 6
Thanked 105 Times in 101 Posts
I just check some other 64-bit systems, and it looks like it is normal.
  #33  
Old 12-26-2009
Registered User
 

Join Date: Mar 2009
Posts: 143
Thanks: 0
Thanked 0 Times in 0 Posts
Cool

Quote:
Originally Posted by Scrutinizer View Post
What distribution and kernel version are you using?
The default Ubuntu 9.10 one:

Code:
:~$ cat /proc/version
Linux version 2.6.31-17-generic (buildd@crested) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009

****************

I restarted my system and found that suddenly the memory use is back to normal -- less than 50% with Firefox running. (That is, free memory has increased about 25-fold.) I'm sure that one or more of the changes suggested on this large thread were responsible, but I don't know which! Thank you, all of you!
Sponsored Links
Closed Thread

Tags
linux, swap, swappiness, virtual memory, vm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Memory sniffing in linux mosey Programming 2 01-15-2009 02:34 PM
share memory on linux melanie_pfefer Red Hat 9 04-07-2008 03:38 PM
Memory managment - linux Igal Malka UNIX for Advanced & Expert Users 6 04-24-2006 04:47 AM
Linux memory usage junkmail426 Red Hat 6 02-27-2006 08:05 AM
memory layout in C on linux parasa Programming 3 10-21-2005 04:52 AM



All times are GMT -4. The time now is 12:13 AM.