OS X writes more than it reads (7GB in/out in 23 hours, most of it from OS X)

In my previous question, I mentioned that OS X seems to really like writing to the disk.
Everything in green are my comments.
Specs: EtreCheck version: 2.1.8 (121)
  MacBook Pro (Retina, 15-inch, Mid 2014)
  MacBook Pro - model: MacBookPro11,3
    1 2.5 GHz Intel Core i7 CPU: 4-core
    16 GB RAM Not upgradeable
        BANK 0/DIMM0
            8 GB DDR3 1600 MHz ok
        BANK 1/DIMM0
            8 GB DDR3 1600 MHz ok
    Bluetooth: Good - Handoff/Airdrop2 supported
    Wireless:  en0: 802.11 a/b/g/n/ac
    Battery Health: Normal - Cycle count 21 (yes, this laptop is still new)
You don't understand how baffling it is to me that OS X can write 1.5 GB to the disk while reading a grand total of 16 MB over the course of 23 hours. Yes, this rMBP has been up for barely a day, and OS X has managed to write 7 GB to my poor, poor SSD.
As you might see, with 23 hours of uptime, OS X managed to write a grand total of 7GB to my SSD. My poor SSD, I hope you last for long enough for me to fix the problem with OS X.
When you write stuff to disk, it generally means that you want to store it there at retrieve it at a later time. But, not for the almighty Apple. Here, we write 2 GB to your hyper-expensive SSD, while we only read 200MB of anything. Heck, because I can't attach anything to the kernel, I don't even know what on earth kernel_task can be reading!
If I attach fs_usage to any of them, all I get are HFS_update, which my limited knowledge of HFS tells me that is not a major contributing factor. (how much can you write to a disk with filesystem updates? I know I come from the nice linux world of ext4, but filesystem updates writing several GBs to disk seems unlikely)
So, if anyone can tell me what on earth nsurlstorage, kernel_task, and launchd are writing to disk, and how I can potentially decrease that value, I will greatly appreciate it. I would also appreciate it if someone can explain to me why there are 2 instances of cfprefsd. (how many daemons for whatever cfprefs is do you need?)

There is nothing wrong with your OS X installation. That's the way it works. If its activity troubles you, return your rMBP for a cash refund that you can use to build yourself several nicely-equipped Linux boxes.
The problem with linux is that they are great for servers, but terrible for everyday laptop use (but still better than Windows). I have really learned to like OS X, just that all of its weird quirks with how everything works makes my inner nerd cringe at the thought of my system being the way it is.
It is just that it strikes me as odd that the core system services would need to write this much data to the disk. What's the point of writing stuff to disk when you are not going to read it later? They are probably not backups, because it makes no sense to put backups on the same disk.
you ought to know you're seeking to fix something that isn't broken. Good luck!
I was under the impression that this is abnormal, which is why I asked here. I guess I will post something on the apple stack exchange about this, but if this is normal, I might just close this thread. Sorry to bother with everyone's time.

Similar Messages

  • Can't open mail on Facebook, can't write more than 2 lines in the status on Facebook and there are no "older posts" showing on Facebook

    This is regarding Facebook: I can no longer open mailbox to receive or send. The result is a white page with the Facebook index on the left. I can no longer write more than 2 lines in status updates. Lastly, the "older posts" that is usually at the bottom of the page is no longer there. Incidentally, all these things work in IE. There's nothing in Facebook referring to these issues except to say it doesn't support Firefox 3.6.8.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Enter the name of the crashed application or process (Finder) in the Filter text field. Post the messages from the time of the last crash, if any — the text, please, not a screenshot.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into a message.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Short dump when we write more than 4 routines or formulas 4 one source fld

    Hi Experts ,
    We have one source field in a DSO which supplies data to 9 other characteristics present in the cube via formulas. But the system throws a short dump when we write more than 4 routines or formulas.
    Please let us know if there is any restriction in BI 7 as to let only 4 formulas to be written for one source field.
    The below is the description of the short dump
    RUNTIME ERROR : SAP SQL_ARRAY_INSERT_DUPREC
    EXCEPTION : CX_SY_OPEN_SQL_DB
    Help done would be assigned points ...
    Thanks,
    Santosh ...

    Hi,
    thanks for your input
    Rd, rt,re and rs are ranges.
    Select ranges
      RANGES: rd FOR ZMOBILEDATA-COMPID,
              rs FOR ZMOBILEDATA-SUBSCRIBERS,
              rt FOR ZMOBILEDATA-TURNOVER,
              re FOR ZMOBILEDATA-ENTRYDATE.
    thanks'

  • How can I write more than 32k file in oracle directory

    Hi experts,
    I am struggling while I write more than 32k file size in oracle directory, and throws an error ‘ORA-06502: PL/SQL: numeric or value error, like this.
    This is my procedure
    declare
    l_s_filename   UTL_FILE.file_type;
    begin
       l_s_filename := UTL_FILE.fopen ('INFO_MIGRATION', 'finfinne.txt', 'W');
    FOR rec
          IN ( SELECT SQL_REDO
                  FROM V$LOGMNR_CONTENTS
                 WHERE seg_owner <> 'SYS' AND username = 'GENTEST'
                 AND TABLE_NAME NOT LIKE '%_TEMP'
                       AND OPERATION IN ('UPDATE','INSERT','DELETE')
              ORDER BY TIMESTAMP)
       LOOP
          UTL_FILE.put_line (l_s_filename, rec.SQL_REDO);
       END LOOP;
       UTL_FILE.fclose (l_s_filename);
    end;can any please help me how can I overcome this problem
    Thanks,
    Arun

    You can write by breaking it into small chunks. Also you can try to use DBMS_XSLPROCESSOR.CLOB2FILE. For UTL_FILE the code snippets may looks like
    -- Read chunks of the CLOB and write them to the file
    -- until complete.
       WHILE l_pos < l_blob_len
       LOOP
          DBMS_LOB.READ (rec.l_clob, l_amount, l_pos, l_buffer);
          UTL_FILE.put_line (l_file, l_buffer, FALSE);
          l_pos := l_pos + l_amount;
       END LOOP;

  • Writing all the rows in one line but cannot write more than 32767 character

    Dear All,
    i am trying to write the column of a table to a file with the '||' seperators. i want to write all the rows in one line of the file.
    for E.g
    Column1 Column2
    A B
    C D
    in the file the output needs to be gone like
    A||B||C||D
    but after 32767 character it gives a write error. could please someone let me know what is wrong with my function below or how can i write more than 32767 character in one one.
    CREATE OR REPLACE FUNCTION CORP_IB_DUMP_FILE (
    P_QUERY IN VARCHAR2,
    P_SEPARATOR IN VARCHAR2 DEFAULT '',
    P_DIR IN VARCHAR2,
    P_FILENAME IN VARCHAR2
    RETURN NUMBER AUTHID CURRENT_USER
    IS
    L_OUTPUT UTL_FILE.FILE_TYPE;
    L_THECURSOR INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_THECURSOR2 INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_COLUMNVALUE VARCHAR2 (4000);
    L_STATUS INTEGER;
    L_COLCNT NUMBER DEFAULT 0;
    L_SEPARATOR VARCHAR2 (10) DEFAULT '';
    L_CNT NUMBER DEFAULT 0;
    BEGIN
    L_OUTPUT := UTL_FILE.FOPEN (P_DIR, P_FILENAME, 'w', 32767);
    DBMS_SQL.PARSE (L_THECURSOR, P_QUERY, DBMS_SQL.NATIVE);
    FOR I IN 1 .. 255
    LOOP
    BEGIN
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, I, L_COLUMNVALUE, 4000);
    L_COLCNT := I;
    EXCEPTION
    WHEN OTHERS
    THEN
    IF (SQLCODE = -1007)
    THEN
    EXIT;
    ELSE
    RAISE;
    END IF;
    END;
    END LOOP;
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, 1, L_COLUMNVALUE, 4000);
    L_STATUS := DBMS_SQL.EXECUTE (L_THECURSOR);
    LOOP
    EXIT WHEN (DBMS_SQL.FETCH_ROWS (L_THECURSOR) <= 0);
    L_SEPARATOR := '';
    FOR I IN 1 .. L_COLCNT
    LOOP
    DBMS_SQL.COLUMN_VALUE (L_THECURSOR, I, L_COLUMNVALUE);
    UTL_FILE.PUT (L_OUTPUT, L_SEPARATOR || L_COLUMNVALUE);
    L_SEPARATOR := P_SEPARATOR;
    UTL_FILE.FFLUSH (L_OUTPUT);
    END LOOP;
    UTL_FILE.FFLUSH (L_OUTPUT);
    L_CNT := L_CNT + 1;
    END LOOP;
    DBMS_SQL.CLOSE_CURSOR (L_THECURSOR);
    UTL_FILE.FCLOSE (L_OUTPUT);
    RETURN L_CNT;
    END CORP_IB_DUMP_FILE;
    /

    user577300 wrote:
    Dear All,
    i am trying to write the column of a table to a file with the '||' seperators. i want to write all the rows in one line of the file.
    for E.g
    Column1 Column2
    A B
    C D
    in the file the output needs to be gone like
    A||B||C||D
    but after 32767 character it gives a write error. could please someone let me know what is wrong with my function below or how can i write more than 32767 character in one one.
    CREATE OR REPLACE FUNCTION CORP_IB_DUMP_FILE (
    P_QUERY IN VARCHAR2,
    P_SEPARATOR IN VARCHAR2 DEFAULT '',
    P_DIR IN VARCHAR2,
    P_FILENAME IN VARCHAR2
    RETURN NUMBER AUTHID CURRENT_USER
    IS
    L_OUTPUT UTL_FILE.FILE_TYPE;
    L_THECURSOR INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_THECURSOR2 INTEGER DEFAULT DBMS_SQL.OPEN_CURSOR;
    L_COLUMNVALUE VARCHAR2 (4000);
    L_STATUS INTEGER;
    L_COLCNT NUMBER DEFAULT 0;
    L_SEPARATOR VARCHAR2 (10) DEFAULT '';
    L_CNT NUMBER DEFAULT 0;
    BEGIN
    L_OUTPUT := UTL_FILE.FOPEN (P_DIR, P_FILENAME, 'w', 32767);
    DBMS_SQL.PARSE (L_THECURSOR, P_QUERY, DBMS_SQL.NATIVE);
    FOR I IN 1 .. 255
    LOOP
    BEGIN
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, I, L_COLUMNVALUE, 4000);
    L_COLCNT := I;
    EXCEPTION
    WHEN OTHERS
    THEN
    IF (SQLCODE = -1007)
    THEN
    EXIT;
    ELSE
    RAISE;
    END IF;
    END;
    END LOOP;
    DBMS_SQL.DEFINE_COLUMN (L_THECURSOR, 1, L_COLUMNVALUE, 4000);
    L_STATUS := DBMS_SQL.EXECUTE (L_THECURSOR);
    LOOP
    EXIT WHEN (DBMS_SQL.FETCH_ROWS (L_THECURSOR) <= 0);
    L_SEPARATOR := '';
    FOR I IN 1 .. L_COLCNT
    LOOP
    DBMS_SQL.COLUMN_VALUE (L_THECURSOR, I, L_COLUMNVALUE);
    UTL_FILE.PUT (L_OUTPUT, L_SEPARATOR || L_COLUMNVALUE);
    L_SEPARATOR := P_SEPARATOR;
    UTL_FILE.FFLUSH (L_OUTPUT);
    END LOOP;
    UTL_FILE.FFLUSH (L_OUTPUT);
    L_CNT := L_CNT + 1;
    END LOOP;
    DBMS_SQL.CLOSE_CURSOR (L_THECURSOR);
    UTL_FILE.FCLOSE (L_OUTPUT);
    RETURN L_CNT;
    END CORP_IB_DUMP_FILE;
    /Check your logic very carefully. You are using UTL_FILE.PUT() which should not automatically put end-of-line characters i n your file but you are reassigning l_seperator with p_seprator after the first time.
    What value are you pasising in as p_seperator?
    UTL_FILE.PUT() should allow you to write a string of bytes without newlines as long as its arguments are less than 32K, and you can control when the newlines get written. If your arguments are > 32K can you split them up without writing the newlines until you need to do so? Try something like (untested)
    --         UTL_FILE.PUT (L_OUTPUT, L_SEPARATOR || L_COLUMNVALUE);
               UTL_FILE.PUT (L_OUTPUT, substr(L_SEPARATOR || L_COLUMNVALUE,1,32767));
               UTL_FILE.PUT (L_OUTPUT, substr(L_SEPARATOR || L_COLUMNVALUE),32767*2-1,32767));Edited by: riedelme on Sep 10, 2012 6:11 AM

  • Can we write more than one routing rule in a RS?

    Can we write more than one routing rule in a RS?

    You can specify multiple routing rules for a single operation of a routing service. If no filter is applied, they are all executed. For routing rules with filters, only the target operations for which the filter condition holds are invoked. Priority is based on the order in which they appear in the routing rules window.
    Ronald

  • Unable to write more than 10 case statements in an object in designer

    unable to write more than 10 case statements in an object in designer
    XI 3.0 and XI 3.1
    Please let me know, any known issues.

    Hi,
    yes this is the limitation you cant write more that 10 case statments but you can reduce the number of time you use the case in your object.
    For ex:
    If you are writing few conditions on one field then you can add the login in one case only.
    case when SAL between 100 and 1000 then 'lowsal'
            when SAL between 1000 and 2000 then 'medsal'
            when sal between 2000 and 3000 then highsal
    else
    case when ...then ....
    else
    end
    end
    by following the above ex you can solve your problem.
    But if you are writing case statement based on dofferent columns then write 10 case statements and remaining conditions you can add at the report level.
    using if else condition.
    Hope this will help you....
    Cheers,
    Ravichandra

  • I think things would have been better without this icloud mess......  someone help me like it again.   1). i have more than 1 account set up with icloud. so i deleted 1 account from the settings on my iphone to try and switch to the other account and ever

    i think things would have been better without this icloud mess......
    someone help me like it again.
    1). i have more than 1 account set up with icloud. so i deleted 1 account from the settings on my iphone to try and switch to the other account and everything became a huge mess. (on my iphone i LOST some of my contacts, all of my reminders are gone, and nothing is showing up on the ical on my iphone, and only some notes are showing).......
    2). everything is still shown on my macbook pro.... but when i tired to go and sync it..... nothing is transfering to my phone........
    3). when i log into the 2 icloud accounts i have with icloud(.com) nothing is showing up in there also......
    whats is going on..... this is a huge mess for me. i want to go back the way is was like 1-2 years ago. when you can just sync things from the computer to the phone and not have to go through icloud....... ive been struggling with icloud but today just me hate it to the max.
    ANY HELP ON HOW I CAN FIX ALL OF THIS.....
    THANK YOU VERY MUCH!

    the version im using is 10.7.5
    im not sure what you mean by you second statement. when i open those application on my macbook its on my macbook but when i sign into icloud. i have those option selected.
    maybe my problem is im using the wrong ID...... lol.
    is there away you can delete or change icloud accounts/ ID's???

  • HT1386 We have more than one computer at home. How do we get the songs from each computer onto one I-Pod?

    We have more than one computer at home. How do we get the songs from each computer onto one I-Pod?

    Copy the songs to a computer that is running iTunes, add those new tracks to the current library, and then synch those tracts to the iPod.
    You might take a look at iTunes Help....

  • How to write more than 65536 data in excel Via Labview in one column

    I have more than 65536 data and i want to write these data in excel sheet. It is giving Error:-
    "Description:-
    Error -2146827284 occurred at an unidentified location
    This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input."
    Less than 65536 data can be written....
    Please give some solution...

    This is not a limitation of LabVIEW writing to a spreadsheet file but a limitation of Microsoft Excel (and also of Notepad) itself.
    One option could be, you can switch to Excel 2007 or higher verison...!!
    Other solution could be, forget about writing to Excel, instead write in some other format and use LabVIEW your other compatible (with large data) application to read it back.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • More than 1 smtp server for out going mail

    I am working off-site and need to send email from my Mail accounts. I am also connecting wireless. I can receive mail but cannot send.
    Can I have more than one smtp server for an account?
    Or do I need a separate account for this situation?

    i had the same problem, i changed port# from 25 to 587, i think it was, & sent e again,it won't send it so i change back to 25 & send then it worked. In mail under help on menu bar it said i.s.p's sometimes shut down port 25 for junk mail reason's,so it could be temporary.

  • I use more than one desktop to edit.  Can I access photoshop and lightroom from any of them, or only from the desktop onto which I have download Creative Cloud?

    I use more than one desktop to edit.  Can I access Creative Cloud Photoshop and Lightroom from any of them to edit, or only from the desktop onto which I have download Creative Cloud?

    Divindino you can activate Photoshop and Lightroom on up to two computers.  You can find more details at Activation & deactivation help - http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html.

  • Will syncing my iphone 3GS more than one time daily wear out the battery?

    Will syncing my iPhone 3GS more than one time daily with Outlook 2007 wear out the battery? An Apple Care advisor said I should only sync it one time per week, but I need to do it daily as I use the calendars and notes for work.

    CindiS wrote:
    Will syncing my iPhone 3GS more than one time daily with Outlook 2007 wear out the battery?
    No.
    An Apple Care advisor said I should only sync it one time per week
    Whoever you talked to has no idea what they are talking about. Ignore their advise.

  • TS1468 I am having trouble with two cover flows duplicating themselves more than once, is there anyone out there that can help me with this, they are not duplicated in my itunes library, just the ipod.

    I am having trouble with two cover flows on my IPOD, duplicating themselves more than once, they haven't duplicated themselves in my Itunes library, just the ipod, could anyone have any ideas on how I could fix this problem. I have tried so many times, even if I restore the ipod, it still does the same thing. Please if possible email me at [email protected] with any suggestions.

    Aha! I have sorted it.
    For those with similar problems, the solution is this:
    Macintosh HD > Library > Audio > MIDI Drivers
    Then delete DigiDioMidiDriver.plugin

  • EBooks wouldn't sync unto iPad/iPhone more than 110 eBooks then cancels out

    Using iPad mini and iPhone 5s. Ever since I updated to iOS 8, I haven't been able to sync my library over 5500 books from my mac unto the iPad mini. I have noticed that I can't sync more than 100 books at any one time, meaning I have to manually select books to sync. Is there a way to sync all my library at once like before?
    Thanks in advance for your help.

    Well the phone is definitely not plugged into a hub, it's plugged directly into the back of the computer. I guess it could be the cable itself, but it appears to be intact and it will allow me to connect the phone and transfer music/media without any problem. The only issue is syncing, really. I guess it's possible that the cord could be broken in a way that would allow it to transfer media but NOT allow it to sync, but that seems unlikely. Also I ran a full virus check and my machine seems to be clean, so I'm guessing (hoping) it's not virus related.
    At this point I'm really baffled as to how to proceed. Basically while I can transfer media, I can't backup or sync without immediately needing to restore the phone. That can't be good, right?
    Message was edited by: snaithbert

Maybe you are looking for