<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Thanks. LOL<br>
<br>
Ron<br>
<br>
On 10/13/2011 1:14 PM, Rich Faulkner wrote:
<blockquote cite="mid:1318526072.1862.22.camel@ubuntumate" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="GENERATOR" content="GtkHTML/3.32.2">
Noob to Hawk in one easy lesson. Jump in the pool...down the rabbit
hole with you!<br>
<br>
<br>
On Thu, 2011-10-13 at 13:07 -0400, Ron Frazier wrote:<br>
<blockquote type="CITE"> Ahh, very clever. Hook me in with my own
idea. 8-) I would consider it. I'd also have to consider if I can
allocate the 20+ hours it would probably take to get ready. My
findings are currently very very preliminary. Also, I'm one of the
more newbie Linux users in the group. I'm not sure how qualified I
am. What did you have in mind?<br>
<br>
Ron<br>
<br>
On 10/13/2011 11:51 AM, Jim Kinney wrote: <br>
<blockquote type="CITE"> So can you consider a presentation of your
findinds and perhaps some testing?<br>
:-)<br>
<br>
</blockquote>
</blockquote>
<blockquote type="CITE">
<blockquote type="CITE"> On Oct 13, 2011 10:52 AM, "Ron Frazier"
<<a moz-do-not-send="true"
href="mailto:atllinuxenthinfo@c3energy.com">atllinuxenthinfo@c3energy.com</a>>
wrote: </blockquote>
</blockquote>
<blockquote type="CITE">
<blockquote type="CITE">
<blockquote> Hi guys,<br>
<br>
This thread has prompted me to do a bit of research to try to see if I
can find a consensus on the swap size issue. At the moment, it seems
like ask 100 people and get 100 different opinions. I haven't
uncovered enough data to tabulate and summarize it at this point. I'm
pretty sure my linux machines have plenty of swap for applications. I
have 8 GB of swap on two machines which have 8 GB of RAM. If I look at
the system monitor program in Gnome, it looks like the swap is rarely
ever touched. By the way, having 8 GB of RAM in a laptop is a nice,
new, liberating experience for me. It's really nice to be able to open
several dozen browser tabs and a dozen or more applications without the
machine even breathing too hard. This is my first laptop capable of
that. I also have 8 GB of swap on a machine with 4 GB of RAM, so it
should be sitting pretty, so to speak. I haven't found anything that
says extra swap is harmful. What I don't know, is whether the two 8 GB
machines would be able to hibernate (suspend to disk) properly, if the
swap is equal to the RAM. I may have to increase the swap on those to
10 GB - 12 GB. This is not an issue in Windows since it uses a
separate hibernate file.<br>
<br>
In my research, I found this article ( <a moz-do-not-send="true"
href="http://lukasz.szmit.eu/2009/11/compcache-swap-on-linux-desktop.html">http://lukasz.szmit.eu/2009/11/compcache-swap-on-linux-desktop.html</a>
). The article is a bit old, but this talks about a fascinating
project called Compcache. Here's a quote from the page:<br>
<br>
---> quote on <---<br>
<br>
Compcache is an open source project implementing an innovative approach
to swap. This has been done before, but not for swap. Users of DOS and
early Windows versions will remember DoubleSpace/DriveSpace, which was
used to virtually expand available disk space, by storing files in a
compressed form. Compcache does exactly that, but for swap, by creating
a new block device in the system which interfaces with the special
compressed memory region in RAM. On the plus side, Compcache can also
be configured to use an alternative swap device when the RAM swap area
is full.<br>
<br>
---> quote off <---<br>
<br>
I think that is a really cool idea for low resource machines. While I
don't know if I'll ever use it, since my modern machines have a decent
amount of RAM, it could really benefit older, smaller machines. For
example, I have an old IBM Thinkpad with 160 MB (yes MB) of RAM. I've
pretty much retired the machine. It does run a GUI based version of
Linux, just barely, but is painfully slow. The old 300 MHz processor
doesn't help much either. I think I have an old version of Lubuntu on
it. Anyway, this type of technology could give the machine more
breathing room by compressing the memory, so it would be like having
256 MB of RAM. I also have an old Toshiba laptop which is topped out
at 1 GB or RAM. Both Ubuntu 10.04 and Windows XP run pretty well.
However, I could compress 512 MB of RAM and then effectively have 512
MB or normal RAM and 1 GB of swap.<br>
<br>
Here's the link for the Compcache project: <a moz-do-not-send="true"
href="http://code.google.com/p/compcache/">http://code.google.com/p/compcache/</a><br>
<br>
Here's an interesting quote from their site: "With compcache at
hypervisor level, we can compress <i>any</i> part of <i>guest</i>
memory transparently."<br>
<br>
Now, while I'll admit I don't understand all the implications of that
statement, it looks like you could essentially compress all the RAM if
running a lightweight hypervisor and running your OS as a guest.<br>
<br>
The project website also points out that embedded systems could benefit
from the technology, where you have to justify every chip you put into
a device.<br>
<br>
Finally, here is an interesting quote from the original article:<br>
<br>
---> quote on <---<br>
<br>
On my desktop, a Dell Precision S390 with 2GB DDR2 RAM and a Maxtor
Diamond Max 9 80GB drive, I am getting the following hdparm results
(average of three runs) for my disk swap, and my compcache swap:
<ul>
<li>Swap on disk: 58MB/s </li>
<li>Compcache swap: 557MB/s </li>
</ul>
An order of magnitude better bandwidth at no expense? I like that.<br>
<br>
---> quote off <---<br>
<br>
I like that idea too. I'd like to know what you guys think of this
concept.<br>
<br>
Sincerely,<br>
<br>
Ron<br>
<br>
On 10/13/2011 8:58 AM, Rich Faulkner wrote: <br>
<blockquote type="CITE"> For me depends upon the system as to
swap size, but if I plan on using hibernation features I have swap just
over the size of RAM as in 1-1/2 times as the general (old) rule that
I've followed...generally a couple of gigs for a desktop and I leave it
at that. Being as I'm only building desktops and laptops lately I'm
not speaking to servers. An interesting experiment is to do test
installs to various system configs and see what a given distro will do
for a default installation. I consider this a benchmark from the
developers on an "ideal" configuration given the hardware provided.
RinL<br>
<br>
<br>
On Thu, 2011-10-13 at 08:45 -0400, Scott Castaline wrote:
<blockquote type="CITE">
<pre>On 10/12/2011 09:40 PM, Tavarvess Ware wrote:
>
> Scott I read the ram x 2= swap in my Linux classes as well and have
> generally followed that, but with memory soaring as it has lately i am
> starting to rethink that. A system 48gigs of memory would be 96 in
> swap..... I wonder if te old format has changed and I haven't heard yet.
>
I only go RAM x 2 = swap for the 1st 2 GB of RAM so 2GB RAM = 4GB swap.
From there on it's RAM x 1 = swap so 4GB RAM = 6GB swap. So your 48 GB
of RAM = 50GB swap, and yup that's one hell of a lot of swap space.
>
> On Oct 12, 2011 9:32 PM, "Scott Castaline" <<a
moz-do-not-send="true" href="mailto:skotchman@gmail.com">skotchman@gmail.com</a>
> <<a moz-do-not-send="true" href="mailto:skotchman@gmail.com">mailto:skotchman@gmail.com</a>>> wrote:
>
> On 10/12/2011 04:14 PM, planas wrote:
> > On Wed, 2011-10-12 at 15:13 -0400, Geoffrey Myers wrote:
> >> 'Just so you all know, when determining how much space to assign to
> >> swap: Swap isn't just used for paging or virtual memory
> management; swap
> >> is also used by power management for suspend-to-disk
> (hibernation). '
> >>
> >> I seriously don't know, so I'm asking.
> >>
> >
> > I have seen that a good swap size is ~1.5x the RAM.
> > --
> > Jay Lozier
> > <a moz-do-not-send="true" href="mailto:jslozier@gmail.com">jslozier@gmail.com</a> <<a
moz-do-not-send="true" href="mailto:jslozier@gmail.com">mailto:jslozier@gmail.com</a>>
> >
> >
> >
> I remember from somewhere that upto 2GB use 2.0x RAM above 2GB of
> RAM go
> with 1:1 ratio so 4Gb RAM = 6GB swap. I don't remember why 2x on the
> first 2GB and this goes back to when 4GB was a lot on pre-configured
> retail boxes. So like Geoffrey I can't see having 18GB of swap for a
> 16GB machine.
>
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="CITE"> <br>
<pre>--
(PS - If you email me and don't get a quick response, you might want to
call on the phone. I get about 300 emails per day from alternate energy
mailing lists and such. I don't always see new messages very quickly.)
Ron Frazier
770-205-9422 (O) Leave a message.
linuxdude AT c3energy.com
_______________________________________________
Ale mailing list
<a moz-do-not-send="true" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a moz-do-not-send="true"
href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a moz-do-not-send="true" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Ale mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
(PS - If you email me and don't get a quick response, you might want to
call on the phone. I get about 300 emails per day from alternate energy
mailing lists and such. I don't always see new messages very quickly.)
Ron Frazier
770-205-9422 (O) Leave a message.
linuxdude AT c3energy.com
</pre>
</body>
</html>