Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #58710

Re: 10.9 - disabling memory compression

From Paul Sture <nospam@sture.ch>
Newsgroups comp.sys.mac.system
Subject Re: 10.9 - disabling memory compression
Date 2014-04-20 10:42 +0200
Organization PostgreSQL and SQLite
Message-ID <rsdc2b-0kv2.ln1@news.chingola.ch> (permalink)
References (3 earlier) <slrnlku6kh.1b7j.g.kreme@amelia.local> <lZednfcNMN_dtc3OnZ2dnUVZ_qCdnZ2d@giganews.com> <slrnll1f12.1v7.g.kreme@amelia.local> <jeidnWFQ9arUsczOnZ2dnUVZ_sGdnZ2d@giganews.com> <slrnll34tq.j24.g.kreme@amelia.local>

Show all headers | View raw


On 2014-04-18, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
> In message <jeidnWFQ9arUsczOnZ2dnUVZ_sGdnZ2d@giganews.com> 
>   Alan Browne <alan.browne@FreelunchVideotron.ca> wrote:
>
>> The memory compression is run by the CPU.
>
> I am pretty sure it is run by the encryption chip, in point of fact. I
> can't find the documentation on it though. Regardless, it is run by
> cycles that would otherwise be idle. So, zero cost.

The only evidence I can find suggests it uses "spare cpu cycles". E.g.

<http://appleinsider.com/articles/13/06/12/compressed-memory-in-os-x-109-mavericks-aims-to-free-ram-extend-battery-life>

---------------------------------------------------------------------------
Apple states that its compression techniques "reduces the size of items
in memory that haven’t been used recently by more than 50 percent," and
states that "Compressed Memory is incredibly fast, compressing or
decompressing a page of memory in just a few millionths of a second."

Compressed Memory can also take advantage of parallel execution on
multiple cores "unlike traditional virtual memory," therefore "achieving
lightning-fast performance for both reclaiming unused memory and accessing
seldom-used objects in memory." 
---------------------------------------------------------------------------

>
> Anyway, I'm done with you. If you continue to post stupid hacks, I will
> continue to reply to them warning others not to try them, but this
> thread has passed the point of anything useful. Feel free to fuck up
> your own computer however you want.

No, this is how folks learn how to get the last inch of performance out of
their kit.  If nobody experimented it would be a sad world.

30+ years ago I was doing this sort of thing all the time for benchmarking
(hah!) purposes.  It's how you learn which tweaks bring gain and which
bring pain.  Yes, you are normally working in unsupported territory so you
have to be aware of that.  And keep backups of course.

Copious backups and tested recovery procedures too.

And did I mention backups and *tested* recovery procedures? :-)

-- 
Paul Sture

The final step of #heartbleed recovery is to call your mother, and advise
her to change her maiden name                                  -- @gojomo

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-13 12:07 -0400
  Re: 10.9 - disabling memory compression billy@MIX.COM - 2014-04-13 17:57 +0000
    Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-13 15:35 -0400
  Re: 10.9 - disabling memory compression Warren Oates <warren.oates@gmail.com> - 2014-04-13 14:50 -0400
    Re: 10.9 - disabling memory compression Paul Sture <nospam@sture.ch> - 2014-04-13 21:18 +0200
      Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-13 15:55 -0400
    Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-13 15:37 -0400
      Re: 10.9 - disabling memory compression Warren Oates <warren.oates@gmail.com> - 2014-04-13 15:51 -0400
    Re: 10.9 - disabling memory compression Leonard Blaisdell <leoblaisdell@sbcglobal.net> - 2014-04-13 19:35 -0700
      Re: 10.9 - disabling memory compression Your Name <YourName@YourISP.com> - 2014-04-14 16:34 +1200
        Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-14 16:30 -0400
          Re: 10.9 - disabling memory compression Paul Sture <nospam@sture.ch> - 2014-04-20 10:53 +0200
            Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-20 09:27 -0400
      Re: 10.9 - disabling memory compression Warren Oates <warren.oates@gmail.com> - 2014-04-14 07:51 -0400
        Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-16 13:35 +0000
      Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-14 16:30 -0400
        Re: 10.9 - disabling memory compression JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-14 17:36 -0400
          Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-14 18:06 -0400
          Re: 10.9 - disabling memory compression Paul Sture <nospam@sture.ch> - 2014-04-20 09:15 +0200
        Re: 10.9 - disabling memory compression me@home.spamsucks.ca (Király) - 2014-04-15 06:01 +0000
          Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-16 16:54 -0400
        Re: 10.9 - disabling memory compression Paul Sture <nospam@sture.ch> - 2014-04-20 09:11 +0200
          Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-20 09:24 -0400
      Re: 10.9 - disabling memory compression Jolly Roger <jollyroger@pobox.com> - 2014-04-15 02:10 +0000
  Re: 10.9 - disabling memory compression Rick Jones <rick.jones2@hp.com> - 2014-04-14 23:32 +0000
    Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-14 19:58 -0400
    Re: 10.9 - disabling memory compression Paul Sture <nospam@sture.ch> - 2014-04-20 09:45 +0200
      Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-20 09:26 -0400
  Re: 10.9 - disabling memory compression Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2014-04-15 00:38 -0700
    Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-16 16:58 -0400
  Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-16 13:32 +0000
    Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-16 17:04 -0400
      Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-17 00:04 +0000
        Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-17 15:15 -0400
          Re: 10.9 - disabling memory compression android <here@there.was> - 2014-04-17 21:29 +0200
          Re: 10.9 - disabling memory compression android <here@there.was> - 2014-04-17 21:29 +0200
            Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-17 15:48 -0400
              Re: 10.9 - disabling memory compression android <here@there.was> - 2014-04-17 21:58 +0200
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-17 16:07 -0400
                Re: 10.9 - disabling memory compression billy@MIX.COM - 2014-04-19 16:06 +0000
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-19 12:37 -0400
                Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-19 17:27 +0000
                Re: 10.9 - disabling memory compression Paul Sture <nospam@sture.ch> - 2014-04-20 08:33 +0200
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-20 09:13 -0400
            Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-18 05:55 +0000
              Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-18 10:00 -0400
          Re: 10.9 - disabling memory compression JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-17 15:30 -0400
            Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-17 16:02 -0400
              Re: 10.9 - disabling memory compression android <here@there.was> - 2014-04-17 22:10 +0200
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-17 16:33 -0400
                Re: 10.9 - disabling memory compression Jolly Roger <jollyroger@pobox.com> - 2014-04-17 21:54 +0000
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-17 18:13 -0400
                Re: 10.9 - disabling memory compression Jolly Roger <jollyroger@pobox.com> - 2014-04-17 23:59 +0000
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-18 17:59 -0400
                Re: 10.9 - disabling memory compression Jolly Roger <jollyroger@pobox.com> - 2014-04-19 17:27 +0000
                Re: 10.9 - disabling memory compression Martin Frost me at invalid stanford daht edu <nospam@stanford.edu.invalid> - 2014-04-19 14:15 -0700
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-19 18:06 -0400
                Re: 10.9 - disabling memory compression Martin Frost me at invalid stanford daht edu <nospam@stanford.edu.invalid> - 2014-04-19 17:16 -0700
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-19 20:32 -0400
                Re: 10.9 - disabling memory compression JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-19 21:40 -0400
                Re: 10.9 - disabling memory compression Your Name <YourName@YourISP.com> - 2014-04-20 15:45 +1200
          Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-18 05:46 +0000
            Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-18 09:44 -0400
              Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-18 21:06 +0000
                Re: 10.9 - disabling memory compression JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-18 17:21 -0400
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-18 17:30 -0400
                Re: 10.9 - disabling memory compression nospam <nospam@nospam.invalid> - 2014-04-18 18:49 -0400
                Re: 10.9 - disabling memory compression billy@MIX.COM - 2014-04-19 16:33 +0000
                Re: 10.9 - disabling memory compression Paul Sture <nospam@sture.ch> - 2014-04-20 08:53 +0200
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-20 09:22 -0400
                Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-21 03:49 +0000
                Re: 10.9 - disabling memory compression Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-04-18 17:24 -0400
                Re: 10.9 - disabling memory compression Warren Oates <warren.oates@gmail.com> - 2014-04-18 17:25 -0400
                Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-19 03:09 +0000
                Re: 10.9 - disabling memory compression billy@MIX.COM - 2014-04-19 15:21 +0000
                Re: 10.9 - disabling memory compression Warren Oates <warren.oates@gmail.com> - 2014-04-19 16:01 -0400
                Re: 10.9 - disabling memory compression Paul Sture <nospam@sture.ch> - 2014-04-20 10:47 +0200
                Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-21 03:52 +0000
                Re: 10.9 - disabling memory compression JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-21 04:26 -0400
                Re: 10.9 - disabling memory compression Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-22 04:07 +0000
                Re: 10.9 - disabling memory compression Warren Oates <warren.oates@gmail.com> - 2014-04-22 08:15 -0400
                Re: 10.9 - disabling memory compression Warren Oates <warren.oates@gmail.com> - 2014-04-21 08:44 -0400
                Re: 10.9 - disabling memory compression Paul Sture <nospam@sture.ch> - 2014-04-20 10:42 +0200
    Re: 10.9 - disabling memory compression billy@MIX.COM - 2014-04-19 16:37 +0000

csiph-web