public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: aligning SSD partitions
Date: Fri, 07 Sep 2012 07:35:34 -0500	[thread overview]
Message-ID: <5049EA16.3080002@gmail.com> (raw)
In-Reply-To: <20120907074722.GA2419@nicolas-desktop>

Nicolas Sebrecht wrote:
> The 06/09/12, Dale wrote:
>
>> But whether it is on tmpfs or just regular memory doesn't matter.  Once
>> emerge starts, everything is in ram including portages work directory
>> which would be on tmpfs here.  That's why it doesn't matter if portage
>> is on tmpfs or not.  Once emerge loads up the files, it's the same
>> thing.  That's why using tmpfs doesn't matter.  I knew that the whole
>> time.  The amount of ram on a system doesn't matter either.  If you have
>> a system that doesn't have a lot of ram, then you can't really use tmpfs
>> anyway.  That is not something I would recommend to anyone. 
> But you're wrong with this assumption. I guess you never tried to
> upgrade a Gentoo system running as server (a working one, with users and
> workload).

Actually, I do that a lot here but we were not testing this on a server
but on what a regular user would have.  I ran most of my tests while in
single user mode tho.  I didn't want the fact that I use KDE and it may
be doing something to use CPU resources or even memory to skew the
results.  I went over this in another reply long ago. 

>
> The amount of memory is only /one/ helper parameter to not see a
> difference.
>
> Like I've already said, the issue is all about the persistence strategy
> used by the VM to mark memory as pinned, reclaimable or swappable. Where
> tmpfs do change the matter is that a file stored in it is not going be
> dropped from RAM until there is a unlink(2) call on it or that other
> running processes are running out of memory and some page needs to be
> swapped (so there is _already_ no more available RAM in the kernel cache).
>
> If not using tmpfs and because memory cache is the first place where the
> kernel will free up memory, you don't have to wait for the processes to
> run out of available memory to hit a situation where you'll have to wait
> for the disk to retrieve files. So, this will affect times.
>

Swap was disabled when I ran the tests even tho I have it set to not use
swap unless it is a must.  Memory is memory whether it is tmpfs or just
being used by a process or as disk cache.  I only have one type of
memory in my system here.  It is all the same no matter how the system
uses it.  Since the only setting changed was where the work directory
was located, then emerge pinned the use of memory the same in both
cases.  As it should. 

The thing is tho, whether it is using the memory as cache or using it as
tmpfs, it is the same memory.  There is no difference.  That's the whole
point. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!



  reply	other threads:[~2012-09-07 12:37 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04  7:20 [gentoo-user] aligning SSD partitions Philip Webb
2012-09-04  7:47 ` Neil Bothwick
2012-09-04 20:31   ` Volker Armin Hemmann
2012-09-04 20:58     ` Neil Bothwick
2012-09-04 21:00     ` Neil Bothwick
2012-09-04 21:52       ` Peter Humphrey
2012-09-05  0:42         ` Philip Webb
2012-09-05  8:23           ` Neil Bothwick
2012-09-05  9:02             ` Philip Webb
2012-09-05  9:23               ` Peter Humphrey
2012-09-05 11:07                 ` Dale
2012-09-05 11:25                   ` Peter Humphrey
2012-09-05 12:02                     ` Dale
2012-09-05 12:58                       ` Peter Humphrey
2012-09-05 18:02                         ` Dale
2012-09-05 19:01                           ` Paul Hartman
2012-09-05 20:46                             ` Dale
2012-09-05 21:22                               ` Paul Hartman
2012-09-05 22:36                               ` Peter Humphrey
2012-09-05 12:31                   ` Neil Bothwick
2012-09-05 12:52                     ` Dale
2012-09-05 15:17                       ` Neil Bothwick
2012-09-05 15:23                         ` Michael Mol
2012-09-05 17:54                           ` Dale
2012-09-05 23:42                             ` Neil Bothwick
2012-09-06  9:13                               ` Dale
2012-09-06  6:57                             ` [gentoo-user] " Nicolas Sebrecht
2012-09-06  9:15                               ` Dale
2012-09-06  9:47                                 ` Neil Bothwick
2012-09-06 10:03                                   ` Dale
2012-09-06 10:18                                     ` Neil Bothwick
2012-09-06 10:56                                       ` Dale
2012-09-06 10:41                                     ` Nicolas Sebrecht
2012-09-06 11:03                                       ` Dale
2012-09-06 11:37                                         ` Nicolas Sebrecht
2012-09-06 12:21                                           ` Dale
2012-09-06 13:27                                             ` Nicolas Sebrecht
2012-09-06 14:27                                               ` Dale
2012-09-06 10:11                                   ` Dale
2012-09-06 10:20                                     ` Neil Bothwick
2012-09-06 10:44                                       ` Dale
2012-09-06 11:11                                         ` Nicolas Sebrecht
2012-09-06 11:31                                           ` Dale
2012-09-06 12:17                                             ` Neil Bothwick
2012-09-06 12:44                                               ` Nicolas Sebrecht
2012-09-06 12:48                                               ` Dale
2012-09-06 13:04                                                 ` Neil Bothwick
2012-09-06 14:07                                                   ` Dale
2012-09-06 14:26                                                     ` Michael Mol
2012-09-06 16:27                                                       ` Dale
2012-09-07  7:56                                                         ` Nicolas Sebrecht
2012-09-07  9:15                                                           ` Nicolas Sebrecht
2012-09-07 12:25                                                           ` Dale
2012-09-07 19:48                                                             ` Neil Bothwick
2012-09-06 14:37                                                     ` Neil Bothwick
2012-09-06 16:32                                                       ` Dale
2012-09-06 20:21                                                         ` Neil Bothwick
2012-09-06 14:51                                                     ` Nicolas Sebrecht
2012-09-06 16:49                                                       ` Dale
2012-09-06 13:46                                             ` Nicolas Sebrecht
2012-09-06 14:20                                               ` Dale
2012-09-06 14:33                                                 ` Michael Mol
2012-09-06 16:39                                                   ` Dale
2012-09-06 16:00                                                 ` Paul Hartman
2012-09-06 16:44                                                   ` Dale
2012-09-06 20:21                                                     ` Neil Bothwick
2012-09-06 21:09                                                       ` Dale
2012-09-06 22:38                                                         ` Neil Bothwick
2012-09-06 23:08                                                           ` Dale
2012-09-07  7:47                                                             ` Nicolas Sebrecht
2012-09-07 12:35                                                               ` Dale [this message]
2012-09-10 10:32                                                                 ` Nicolas Sebrecht
2012-09-10 11:13                                                                   ` Dale
2012-09-10 12:37                                                                     ` Michael Mol
2012-09-10 13:52                                                                       ` Dale
2012-09-10 14:02                                                                         ` Michael Mol
2012-09-10 14:22                                                                           ` Dale
2012-09-05 12:55                     ` [gentoo-user] " Adam Carter
2012-09-05 15:28                       ` Florian Philipp
2012-09-05  9:26               ` Neil Bothwick
2012-09-05 16:30             ` Volker Armin Hemmann
2012-09-05 17:02               ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5049EA16.3080002@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox