Re: Use of Swap Space

2009-02-03 Thread Ron Johnson

On 02/03/2009 05:01 AM, Avi Greenbury wrote:

Ron Johnson wrote:
  On 02/01/2009 10:04 AM, Mirko Scurk wrote:
  [snip]
 
  Could it be that 32-bit Debian can't access rest of memory?
 
 
  That would only be an issue if he could only see (I think) 2GB of his
  4GB RAM.
 

Really?
The only system on which I've 3Gb of ram and a 32bit OS is my Windows 
laptop, and that reports 3.5Gb of the ~4Gb that's in there. I've no idea 
how to get a less-rounded number for it out of Windows.


That's a design issue (I think) specific to Windows.  Has to do with 
 the decision to map video card RAM into regular address space 
(even on machines with discreet video cards).


--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Use of Swap Space

2009-02-03 Thread Aneurin Price
On Tue, Feb 3, 2009 at 12:13 PM, Ron Johnson ron.l.john...@cox.net wrote:
 On 02/03/2009 05:01 AM, Avi Greenbury wrote:

 Ron Johnson wrote:
   On 02/01/2009 10:04 AM, Mirko Scurk wrote:
   [snip]
  
   Could it be that 32-bit Debian can't access rest of memory?
  
  
   That would only be an issue if he could only see (I think) 2GB of his
   4GB RAM.
  

 Really?
 The only system on which I've 3Gb of ram and a 32bit OS is my Windows
 laptop, and that reports 3.5Gb of the ~4Gb that's in there. I've no idea how
 to get a less-rounded number for it out of Windows.

 That's a design issue (I think) specific to Windows.  Has to do with  the
 decision to map video card RAM into regular address space (even on machines
 with discreet video cards).


You should be able to avoid this problem by enabling PAE - search Google and
there'a a lot of information about this, but a lot of it sadly is either
inconsistent or just clearly wrong (it's my experience that that's the case
for most responses to questions relating to Windows, but then maybe that's
just my prejudice showing).

Try looking at http://blogs.msdn.com/oldnewthing/archive/2006/08/14/699521.aspx
and searching Raymond Chen's blog for more recent posts on the topic.
Apologies for pushing this thread further OT.

Nye


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-02-03 Thread Avi Greenbury

Ron Johnson wrote:
 On 02/01/2009 10:04 AM, Mirko Scurk wrote:
 [snip]

 Could it be that 32-bit Debian can't access rest of memory?


 That would only be an issue if he could only see (I think) 2GB of his
 4GB RAM.


Really?
The only system on which I've 3Gb of ram and a 32bit OS is my Windows 
laptop, and that reports 3.5Gb of the ~4Gb that's in there. I've no idea 
how to get a less-rounded number for it out of Windows.


--
Avi Greenbury
http://aviswebsite.co.uk ;)
http://aviswebsite.co.uk/asking-questions


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Use of Swap Space

2009-02-03 Thread Brad Sawatzky
On Tue, 03 Feb 2009, Aneurin Price wrote:

 On Tue, Feb 3, 2009 at 12:13 PM, Ron Johnson ron.l.john...@cox.net wrote:
  On 02/03/2009 05:01 AM, Avi Greenbury wrote:
 
  That's a design issue (I think) specific to Windows.  Has to do with  the
  decision to map video card RAM into regular address space (even on machines
  with discreet video cards).

This situation is true for most any OS.  Linux (for example) can work
around it fairly well by properly implementing PAE to extend the address
space.  Windows doesn't work so well with PAE (thanks to the joy of closed
source drivers).

 You should be able to avoid this problem by enabling PAE - search Google
 and there'a a lot of information about this, but a lot of it sadly is
 either inconsistent or just clearly wrong (it's my experience that that's
 the case for most responses to questions relating to Windows, but then
 maybe that's just my prejudice showing).

 Try looking at 
 http://blogs.msdn.com/oldnewthing/archive/2006/08/14/699521.aspx
 and searching Raymond Chen's blog for more recent posts on the topic.

PAE (usually) doesn't work well under Windows unless all the drivers are
64-bit aware.  Apparently WinXP sp2 just silently ignores the /PAE flag
(at least as far as memory addressing is concerned).

Dan's Data has a good summary of the 3GB+ issues with 32 bit windows here:
  http://www.dansdata.com/askdan00015.htm

 Apologies for pushing this thread further OT.

Likewise.

-- Brad


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-02-02 Thread Douglas A. Tutty
On Fri, Jan 30, 2009 at 10:04:19PM -0600, Ron Johnson wrote:
 On 01/30/2009 09:54 PM, Douglas A. Tutty wrote:
 On Sat, Jan 31, 2009 at 02:52:34AM +, Tzafrir Cohen wrote:
 On Sat, Jan 31, 2009 at 12:54:34AM +, Dean Chester wrote:

 If a 100% CPU usage causes your computer to *over*heat (which is
 something you did not write above) you'll have a problem elsewhere (e.g.
 a dist-upgrade that includes tex-live :-) )
 
 Or, is the board firmware slowing down the CPU to allow it to cool,
 which makes a basically idling debian system to use a higher percentage
 of available CPU (less idle time).  Remember, its a percentage of CPU
 capacity.  If the CPU slows down, the the available capacity decreases.
 
 But 100% CPU usage isn't the same as running at 100% of rated 
 clock speed.
 
 Is *that* what you are really referring to?

To illustrate what I mean, lets change from percentage to some
ficticuous numbers.  Lets say that the CPU when cool can make 100
BIGMACS per second.  When the CPU is cool, top shows that it is 99% idle
(1% CPU usage), so it takes 1 BIGMACS per second to keep the system and
top running.  Now, heat up the CPU too far and the BIOS slows down the
CPU to make it run cooler.  Now the CPU can only make 1 BIGMACS per
second.  It still takes 1 BIGMACS per second to keep the system and top
running, so now top will show that the CPU is 0% idle (100% CPU usage).

This is what I was suggesting.

Doug.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-02-02 Thread Stefan Monnier
 Try to run `free' to get a more detailed break up (or even cat
 /proc/meminfo).

 Running free -g on my system returns 3. I have 4.
 Running cat /proc/meminfo returns 4030668KB, which is 3.84GB according
 to onlineconversion, closer. Does RAM also have a sort of FAT?

No, it's just that some part of your RAM is used up for other things.
E.g. it may be used by your video card (if it doesn't have its own
VRAM), or by the kernel.

 It seems as though free won't return the accurate size.

The opposite: it returns the actual usable size (of course -g makes
it round *down* to the nearest gigabyte, so you get a gross
under-approximation, but that's what you asked for).


Stefan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-02-02 Thread Ron Johnson

On 02/02/2009 11:34 AM, Douglas A. Tutty wrote:

On Fri, Jan 30, 2009 at 10:04:19PM -0600, Ron Johnson wrote:

On 01/30/2009 09:54 PM, Douglas A. Tutty wrote:

On Sat, Jan 31, 2009 at 02:52:34AM +, Tzafrir Cohen wrote:

On Sat, Jan 31, 2009 at 12:54:34AM +, Dean Chester wrote:



If a 100% CPU usage causes your computer to *over*heat (which is
something you did not write above) you'll have a problem elsewhere (e.g.
a dist-upgrade that includes tex-live :-) )

Or, is the board firmware slowing down the CPU to allow it to cool,
which makes a basically idling debian system to use a higher percentage
of available CPU (less idle time).  Remember, its a percentage of CPU
capacity.  If the CPU slows down, the the available capacity decreases.
But 100% CPU usage isn't the same as running at 100% of rated 
clock speed.


Is *that* what you are really referring to?


To illustrate what I mean, lets change from percentage to some
ficticuous numbers.  Lets say that the CPU when cool can make 100
BIGMACS per second.  When the CPU is cool, top shows that it is 99% idle
(1% CPU usage), so it takes 1 BIGMACS per second to keep the system and
top running.  Now, heat up the CPU too far and the BIOS slows down the
CPU to make it run cooler.  Now the CPU can only make 1 BIGMACS per
second.  It still takes 1 BIGMACS per second to keep the system and top
running, so now top will show that the CPU is 0% idle (100% CPU usage).

This is what I was suggesting.


No need for analogies.

$ cat /proc/cpuinfo | grep 'cpu MHz'
cpu MHz : 1000.000
cpu MHz : 1000.000

[Do something CPU-intensive.]

$ cat /proc/cpuinfo | grep 'cpu MHz'
cpu MHz : 2100.000
cpu MHz : 2100.000

Again, I ask if you are referring to clock speed or CPU usage?

--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Use of Swap Space

2009-02-01 Thread Mirko Scurk

Ron Johnson wrote:
 On 01/31/2009 03:27 PM, Nuno MagalhĂŁes wrote:
 Try to run `free' to get a more detailed break up (or even cat
 /proc/meminfo).

 Running free -g on my system returns 3. I have 4.
 Running cat /proc/meminfo returns 4030668KB, which is 3.84GB according

 That's 4030668*1024 = 4,127,404,032.

 to onlineconversion, closer. Does RAM also have a sort of FAT?

 4GB = 4,294,967,296.

 So, where's the missing 167,563,264 bytes?  (I.e. 40,909 4KB pages.)

 It seems as though free won't return the accurate size.

 Of course it does.  We, though, aren't kernel hackers or h/w
 gurus, so are left in the dark.

 --
 Ron Johnson, Jr.
 Jefferson LA  USA


Could it be that 32-bit Debian can't access rest of memory?

-- 
Mirko Scurk


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-02-01 Thread Ron Johnson

On 02/01/2009 10:04 AM, Mirko Scurk wrote:
[snip]


Could it be that 32-bit Debian can't access rest of memory?



That would only be an issue if he could only see (I think) 2GB of 
his 4GB RAM.


--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Use of Swap Space

2009-02-01 Thread Lee Glidewell
On Saturday 31 January 2009 21:01:14 David Fox wrote:

 It isn't that RAM has a FAT - those things only are present on
 filesystems. It is more likely that free's interpretation doesn't
 include kernel memory. Also, 4gb may be 4*1024*1024 not 4*1000*1000,
 although that is more likely to be a concern with hard disk capacity.

No, the issue is that manufactures advertise in *1000, while computers use 
bytes in *1024. The recent convention that's come into place to represent this 
is between Kilo/Mega/Giga-bytes (*1000) and Kibi/Mebi/Gibi-bytes (*1024). 

So a stick of memory advertised as 4 Gigabytes is going to present itself to 
your computer as 3.84 Gibibytes, roughly. 

http://xkcd.com/394/

Lee


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-02-01 Thread Nuno Magalhães
 So a stick of memory advertised as 4 Gigabytes is going to present itself to
 your computer as 3.84 Gibibytes, roughly.

Er... what's the standard in Debian? 1024, right? We're still being
logical here, right?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-02-01 Thread Lee Glidewell
On Sunday 01 February 2009 17:04:38 Nuno Magalhães wrote:
  So a stick of memory advertised as 4 Gigabytes is going to present itself
  to your computer as 3.84 Gibibytes, roughly.

 Er... what's the standard in Debian? 1024, right? We're still being
 logical here, right?

Sorry, it's more like 3.72 Gibibytes.

Anyway, it has nothing to do with Debian. It has to do with the fact that 
computers are binary, and memory manufacturers advertise their products by 
measuring in multiples of 10. Some might say that practice is dishonest, but 
it is also universal at this point. 

And the Kibibyte/Mebibyte/Gibibyte nomenclature was introduced by the IEEE 
like 10 years ago, so people really should be familiar with it by now. :)




signature.asc
Description: This is a digitally signed message part.


Re: Use of Swap Space

2009-02-01 Thread Ron Johnson

On 02/01/2009 02:49 PM, Lee Glidewell wrote:

On Saturday 31 January 2009 21:01:14 David Fox wrote:

It isn't that RAM has a FAT - those things only are present on
filesystems. It is more likely that free's interpretation doesn't
include kernel memory. Also, 4gb may be 4*1024*1024 not 4*1000*1000,
although that is more likely to be a concern with hard disk capacity.


No, the issue is that manufactures advertise in *1000, while computers use 


Hard drive manufacturers, not RAM manufacturers.

My beard's grey enough to remember when drive manufacturers measured 
drive capacity in binary KB, not decimal.


bytes in *1024. The recent convention that's come into place to represent this 
is between Kilo/Mega/Giga-bytes (*1000) and Kibi/Mebi/Gibi-bytes (*1024). 

So a stick of memory advertised as 4 Gigabytes is going to present itself to 
your computer as 3.84 Gibibytes, roughly. 


If that were true, I'd have 8 * 10^9 bytes of RAM, and this 
demonstrates that error:


$ calc 8 \* 10\*\*9 / 1024
7812500

$ cat /proc/meminfo | grep MemTot
MemTotal:8177796 kB

$ calc 8177796 \* 1024
8374063104

$ calc 2\*\*30 \* 8
8589934592

The only issue is that I'm missing 215871488 bytes (52703 of 4KB 
pages).



http://xkcd.com/394/


But seriously: KB was always the standard way of writing kilobyte. 
Kb was/is kilobit (now, Mb and Gb are relevant), used my memory 
manufactures to indicate the capacity of individual *chips* (not the 
SIMMs on which they are mounted).


--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Use of Swap Space

2009-02-01 Thread Lee Glidewell
On Sunday 01 February 2009 17:59:07 Ron Johnson wrote:
 On 02/01/2009 02:49 PM, Lee Glidewell wrote:
 
  No, the issue is that manufactures advertise in *1000, while computers
  use

 Hard drive manufacturers, not RAM manufacturers.

 My beard's grey enough to remember when drive manufacturers measured
 drive capacity in binary KB, not decimal.

  bytes in *1024. The recent convention that's come into place to represent
  this is between Kilo/Mega/Giga-bytes (*1000) and Kibi/Mebi/Gibi-bytes
  (*1024).
 
  So a stick of memory advertised as 4 Gigabytes is going to present itself
  to your computer as 3.84 Gibibytes, roughly.

 If that were true, I'd have 8 * 10^9 bytes of RAM, and this
 demonstrates that error:
 snipped work

Okay, I stand corrected. I guess I had assumed that RAM was sold this way as 
well, and hadn't bothered to do the math to check it.

You know what they say about people who assume. ;)

I'll go stand in the corner now. 

Lee


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-02-01 Thread Ron Johnson

On 02/01/2009 08:15 PM, Lee Glidewell wrote:
[snip]


You know what they say about people who assume. ;)

I'll go stand in the corner now. 


With your nose pressed into the corner, touching that dust spot at 
eye level.


--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Use of Swap Space

2009-01-31 Thread Jochen Schulz
Dean Chester:

 I recently noticed that my CPU is at 100% when the temperature of my CPU is
 high.

The causality is the other way round: your CPU's temperature rises if
the CPU is being used. That's totally expected. The question is whether
the temperature is high enough to damage your CPU.

J.
-- 
If I was Mark Chapman I would have shot John Lennon with a water pistol.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: Use of Swap Space

2009-01-31 Thread Stefan Monnier
 I recently noticed that my CPU is at 100% when the temperature of my CPU is
 high. Taking a look at System Monitor i have also discovered that my swap
 space is being used while only 13% of the RAM is, why isn't is using the
 rest of the RAM. Has anyone got any ideas why?

Unless you really have an enormous amount of RAM (in which case you
probably know what's going on), the tool that tells you 13% of RAM
used is partly lying.  It's probably telling you that 13% of the RAM is
used by data that's not found anywhere else, while most of the rest of
your RAM is probably used to store local copies of disk blocks.
Try to run `free' to get a more detailed break up (or even cat
/proc/meminfo).


Stefan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-01-31 Thread Nuno Magalhães
 Try to run `free' to get a more detailed break up (or even cat
 /proc/meminfo).

Running free -g on my system returns 3. I have 4.
Running cat /proc/meminfo returns 4030668KB, which is 3.84GB according
to onlineconversion, closer. Does RAM also have a sort of FAT?

It seems as though free won't return the accurate size.

Nuno Magalhães


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-01-31 Thread Andrew Sackville-West
On Fri, Jan 30, 2009 at 10:04:19PM -0600, Ron Johnson wrote:
 On 01/30/2009 09:54 PM, Douglas A. Tutty wrote:
 On Sat, Jan 31, 2009 at 02:52:34AM +, Tzafrir Cohen wrote:
 On Sat, Jan 31, 2009 at 12:54:34AM +, Dean Chester wrote:
 Hi
 I recently noticed that my CPU is at 100% when the temperature of my CPU is
 high. 
...
 If a 100% CPU usage causes your computer to *over*heat (which is
 something you did not write above) you'll have a problem elsewhere (e.g.
 a dist-upgrade that includes tex-live :-) )

 Or, is the board firmware slowing down the CPU to allow it to cool,
 which makes a basically idling debian system to use a higher percentage
 of available CPU (less idle time).
...
 But 100% CPU usage isn't the same as running at 100% of rated clock 
 speed.

...

regardless of which of the above is happening, if the thing is running
hot, then get in there and clean out the fans and heat
sinks there's nothing like trying to slow down a cpu to make it
run cooler when the cooler isn't working...

.02

A


signature.asc
Description: Digital signature


Re: Use of Swap Space

2009-01-31 Thread Ron Johnson

On 01/31/2009 06:00 PM, Andrew Sackville-West wrote:

On Fri, Jan 30, 2009 at 10:04:19PM -0600, Ron Johnson wrote:

On 01/30/2009 09:54 PM, Douglas A. Tutty wrote:

On Sat, Jan 31, 2009 at 02:52:34AM +, Tzafrir Cohen wrote:

On Sat, Jan 31, 2009 at 12:54:34AM +, Dean Chester wrote:

Hi
I recently noticed that my CPU is at 100% when the temperature of my CPU is
high. 

...

If a 100% CPU usage causes your computer to *over*heat (which is
something you did not write above) you'll have a problem elsewhere (e.g.
a dist-upgrade that includes tex-live :-) )

Or, is the board firmware slowing down the CPU to allow it to cool,
which makes a basically idling debian system to use a higher percentage
of available CPU (less idle time).

...
But 100% CPU usage isn't the same as running at 100% of rated clock 
speed.



...

regardless of which of the above is happening, if the thing is running
hot, then get in there and clean out the fans and heat
sinks there's nothing like trying to slow down a cpu to make it
run cooler when the cooler isn't working...


I prop up the rear of the laptop.  Now because of a docking station, 
before with a short section of 2x4 wood.  Allows for better air 
flow, and less fan usage.


--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Use of Swap Space

2009-01-31 Thread Vincent Lefevre
On 2009-01-31 02:52:34 +, Tzafrir Cohen wrote:
 On Sat, Jan 31, 2009 at 12:54:34AM +, Dean Chester wrote:
  I recently noticed that my CPU is at 100% when the temperature of
  my CPU is high. Taking a look at System Monitor i have also
  discovered that my swap space is being used while only 13% of the
  RAM is, why isn't is using the rest of the RAM. Has anyone got any
  ideas why?
 
 No. CPU utilization has nothing directly to do with swap usage.

If the machine swaps a lot, the load average can get very high.
For instance, on my PowerBook, just because I started a process
that required much memory, the load average reached 25. I suppose
the cause is that background processes that woke up were waiting
for memory, and during this time they were regarded as running.

-- 
Vincent Lefèvre vinc...@vinc17.org - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-01-31 Thread David Fox
On Sat, Jan 31, 2009 at 1:27 PM, Nuno Magalhães nunomagalh...@eu.ipp.pt wrote:

 It seems as though free won't return the accurate size.

I also have 4 gb of RAM (new Quadcore Intel) and 'free -g' reports '3'
as well, I suspect this is underrounding to the extreme, and 'free
-gb' returns a more realistic number:

f...@newbox:~$ free -gb
 total   used   free sharedbuffers cached
Mem:4018106368 3988586496   29519872  0   26746880 2479407104
-/+ buffers/cache: 1482432512 2535673856
Swap:   83897753605529600 8384245760

It isn't that RAM has a FAT - those things only are present on
filesystems. It is more likely that free's interpretation doesn't
include kernel memory. Also, 4gb may be 4*1024*1024 not 4*1000*1000,
although that is more likely to be a concern with hard disk capacity.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-01-31 Thread Ron Johnson

On 01/31/2009 03:27 PM, Nuno Magalhães wrote:

Try to run `free' to get a more detailed break up (or even cat
/proc/meminfo).


Running free -g on my system returns 3. I have 4.
Running cat /proc/meminfo returns 4030668KB, which is 3.84GB according


That's 4030668*1024 = 4,127,404,032.


to onlineconversion, closer. Does RAM also have a sort of FAT?


4GB = 4,294,967,296.

So, where's the missing 167,563,264 bytes?  (I.e. 40,909 4KB pages.)


It seems as though free won't return the accurate size.


Of course it does.  We, though, aren't kernel hackers or h/w 
gurus, so are left in the dark.


--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Use of Swap Space

2009-01-31 Thread Ron Johnson

On 01/31/2009 11:01 PM, David Fox wrote:
[snip]


It isn't that RAM has a FAT - those things only are present on
filesystems. It is more likely that free's interpretation doesn't
include kernel memory. Also, 4gb may be 4*1024*1024 not 4*1000*1000,
although that is more likely to be a concern with hard disk capacity.


No, RAM is always measured in binary.

--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Use of Swap Space

2009-01-30 Thread Dean Chester
Hi
I recently noticed that my CPU is at 100% when the temperature of my CPU is
high. Taking a look at System Monitor i have also discovered that my swap
space is being used while only 13% of the RAM is, why isn't is using the
rest of the RAM. Has anyone got any ideas why?
Thanks in Advance
Dean.


Re: Use of Swap Space

2009-01-30 Thread Ron Johnson

On 01/30/2009 06:54 PM, Dean Chester wrote:

Hi
I recently noticed that my CPU is at 100% when the temperature of my CPU 
is high. Taking a look at System Monitor i have also discovered that my 
swap space is being used


How much?  2%, or 90%?

 while only 13% of the RAM is, why isn't is 
using the rest of the RAM. Has anyone got any ideas why?


What does top(1) say?

--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Use of Swap Space

2009-01-30 Thread Boyd Stephen Smith Jr.
On Friday 2009 January 30 18:54:34 Dean Chester wrote:
I recently noticed that my CPU is at 100% when the temperature of my CPU is
high. Taking a look at System Monitor i have also discovered that my swap
space is being used while only 13% of the RAM is, why isn't is using the
rest of the RAM. Has anyone got any ideas why?
Thanks in Advance
Dean.

Once stuff gets swapped out, it may not get swapped in.  (It will remain 
swapped out until it is accessed.  Swapping has a cost; leaving it there does 
not.)  Even if it is, it will remain backed by swap until it is written to.  
(Until it is written to, the existing swap space may save a disk write if the 
page needs to be swapped in the future.  Invalidating the page costs a 
little; leaving it there does not.)

Basically use of swap and non-use of RAM are *not* problems.
-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.net/  \_/ 


signature.asc
Description: This is a digitally signed message part.


Re: Use of Swap Space

2009-01-30 Thread Tzafrir Cohen
On Sat, Jan 31, 2009 at 12:54:34AM +, Dean Chester wrote:
 Hi
 I recently noticed that my CPU is at 100% when the temperature of my CPU is
 high. Taking a look at System Monitor i have also discovered that my swap
 space is being used while only 13% of the RAM is, why isn't is using the
 rest of the RAM. Has anyone got any ideas why?

No. CPU utilization has nothing directly to do with swap usage.

If a 100% CPU usage causes your computer to *over*heat (which is
something you did not write above) you'll have a problem elsewhere (e.g.
a dist-upgrade that includes tex-live :-) )

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-01-30 Thread Douglas A. Tutty
On Sat, Jan 31, 2009 at 02:52:34AM +, Tzafrir Cohen wrote:
 On Sat, Jan 31, 2009 at 12:54:34AM +, Dean Chester wrote:
  Hi
  I recently noticed that my CPU is at 100% when the temperature of my CPU is
  high. Taking a look at System Monitor i have also discovered that my swap
  space is being used while only 13% of the RAM is, why isn't is using the
  rest of the RAM. Has anyone got any ideas why?
 
 No. CPU utilization has nothing directly to do with swap usage.
 
 If a 100% CPU usage causes your computer to *over*heat (which is
 something you did not write above) you'll have a problem elsewhere (e.g.
 a dist-upgrade that includes tex-live :-) )

Or, is the board firmware slowing down the CPU to allow it to cool,
which makes a basically idling debian system to use a higher percentage
of available CPU (less idle time).  Remember, its a percentage of CPU
capacity.  If the CPU slows down, the the available capacity decreases.

Doug.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Use of Swap Space

2009-01-30 Thread Ron Johnson

On 01/30/2009 09:54 PM, Douglas A. Tutty wrote:

On Sat, Jan 31, 2009 at 02:52:34AM +, Tzafrir Cohen wrote:

On Sat, Jan 31, 2009 at 12:54:34AM +, Dean Chester wrote:

Hi
I recently noticed that my CPU is at 100% when the temperature of my CPU is
high. Taking a look at System Monitor i have also discovered that my swap
space is being used while only 13% of the RAM is, why isn't is using the
rest of the RAM. Has anyone got any ideas why?

No. CPU utilization has nothing directly to do with swap usage.

If a 100% CPU usage causes your computer to *over*heat (which is
something you did not write above) you'll have a problem elsewhere (e.g.
a dist-upgrade that includes tex-live :-) )


Or, is the board firmware slowing down the CPU to allow it to cool,
which makes a basically idling debian system to use a higher percentage
of available CPU (less idle time).  Remember, its a percentage of CPU
capacity.  If the CPU slows down, the the available capacity decreases.


But 100% CPU usage isn't the same as running at 100% of rated 
clock speed.


Is *that* what you are really referring to?

--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org