Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'sufficient': 0.05; 'cache': 0.07; 'granted,': 0.07; 'subject:file': 0.07; "system's": 0.09; '-tkc': 0.16; 'cached': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'play.': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.18; 'written': 0.21; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'purely': 0.31; 'allows': 0.31; 'option': 0.32; "can't": 0.35; 'disk': 0.36; 'much.': 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'most': 0.60; 'hardware': 0.61; 'complete': 0.62; 'subject:more': 0.64; 'power': 0.76; 'cuts': 0.84; 'received:50.22': 0.84; 'subject:read': 0.84 Date: Wed, 18 Dec 2013 12:00:50 -0600 From: Tim Chase To: python-list@python.org Subject: Re: Is it more CPU-efficient to read/write config file or read/write sqlite database? In-Reply-To: References: <20131218103148.GA2728@cskk.homeip.net> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - boston.accountservergroup.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tim.thechases.com X-Get-Message-Sender-Via: boston.accountservergroup.com: authenticated_id: tim@thechases.com X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387389583 news.xs4all.nl 2857 [2001:888:2000:d::a6]:36037 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62322 On 2013-12-18 09:49, dick wrote: > Don't forget that most hard disks have an option to cache the write > data. This is a 'feature' that allows the manufacturers to claim > better write performance. You can't be sure when the data is written > to the disk if that option is in play. However, my understanding is that they have a small on-drive battery/capacitor that stores sufficient energy for the cached write(s) to complete in the event the system's power abruptly cuts off. Granted, this is purely hearsay, as it's been a long time since I mucked around with hardware much. -tkc