Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-performance
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-performance@g.o
From: Gyujin Park <gpark@...>
Subject: Re: swap?
Date: Sat, 31 Jul 2004 22:58:11 -0600
true, this thread was about server not swapping, not a laptop's power consumption
during swapping.

Although, I agree, today laptops are getting faster and software demands are
increasing but laptop batteries are always falling behind. PB 17" I have pretty
drains quickly.

I think the best solution for laptop users is to customize their own kernel, and
tweak some settings about swap. (which I don't know.. since I am not a guru.)

I personally never used Linux in a laptop. (I see no reason why, since Mac
Panther is Unix Core, BSD... Although I really like Gentoo MAC thing.)

The server I was dealing with swap is now running alright. It uses swap when it
needs to. "swapiness" is there. Kernel 2.6 is loaded. Its running good with other
testing servers!!

I hope Gentoo be the one server OS that people will go with, although this is not
entirely up to me. (other people involved with this testing...)

Tom

On Sat Jul 31 22:35 , Colin Kingsley <ckingsley@...> sent:

>yea, I agree... but thats not what this thread was about.
>
>not that it should die here, feel free to discuss it. :)
>
>On Sun, 1 Aug 2004 00:33:15 -0400, Douglas Breault Jr.
>genkreton@...> wrote:
>> Even on laptops swap has a purpose and should be used to increase space but
there is a definite lack of control over it beyond the very obscure swapiness
variable. It's not horribly bad right now but it seems too many people want to
make this worse. The laptop sysctl variable is the closest thing we have
unfortunately.
>> 
>> There needs to be a balance between power and performance when necessary. Swap
is good stuff sometimes.
>> 
>> On Sun, 1 Aug 2004 00:17:47 -0400
>> 
>> 
>> Colin Kingsley ckingsley@...> wrote:
>> 
>> > how is that "disturbing"? you _can_
>> >  turn off swap for power reasons if you want too.
>> >
>> > it was a discussion about swap, what were you expecting?
>> > by the way, I happen to be on a laptop myself.
>> >
>> >
>> > On Sun, 1 Aug 2004 00:06:12 -0400, Douglas Breault Jr.
>> > genkreton@...> wrote:
>> > > The dsturbing thing about those threads you posted up is that they
completely ignore those people running laptops who may also want to not swap
often because it spins up the harddrive and causes a spike in power consumption
everytime this happens.
>> > > This is a problem I've experience with the CK patch set.
>> > >
>> > > On Fri, 30 Jul 2004 21:22:17 +0200
>> > >
>> > >
>> > > "Florian Koenig" k0255220@...> wrote:
>> > >
>> > > > > > Also, when I do
>> > > > > >
>> > > > > > free
>> > > > > >
>> > > > > > it shows no swap is used even though physical memory level is 98%.
>> > > > >
>> > > > > free shows no swap used on my system either. and 90% or more physical
>> > > > > memory use is standard for the linux kernel.
>> > > >
>> > > > Exactly. In contrast to Windows NT/2000/XP, which tries to swap out as
much pages as possible, Linux tries to keep the memory mostly filled. Lots of the
memory gets used as cache and buffer so you might actually gain some performance.
>> > > >
>> > > > The difference between Windows and Linux stems from their different
origins. Linux/Unix was always meant to be a server system where the set of
running processes doesn't change that often. Therefore it tries to keep pages in
memory for as long as possible.
>> > > >
>> > > > Windows' approach to the problem is geared to desktop performance and so
it swaps out 'unused' pages as soon as possible to free memory and keep startup
time short for programs being loaded.
>> > > >
>> > > > The behaviour of Linux is actually hotly debated by the developers as
you can see on these two pages, which btw also include some hints on how to tune
swapping:
>> > > >
>> > > > http://kerneltrap.org/node/view/3000
>> > > > http://kerneltrap.org/node/view/3202
>> > > >
>> > > > Have a nice weekend and kind regards
>> > > > floki
>> > > >
>> > > >
>> > > > --
>> > > > gentoo-performance@g.o mailing list
>> > > >
>> > >
>> > >
>> > >
>> >
>> > --
>> > gentoo-performance@g.o mailing list
>> >
>> 
>> 
>>
>
>--
>gentoo-performance@g.o mailing list
>


---- Introducing Spymac MailPro: http://www.spymac.com/mailpro/

--
gentoo-performance@g.o mailing list

Replies:
Re: swap?
-- Colin Kingsley
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: swap?
Next by thread:
Re: swap?
Previous by date:
Re: swap?
Next by date:
Re: swap?


Updated Jun 17, 2009

Summary: Archive of the gentoo-performance mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.