Unix Technical Forum

Re:

This is a discussion on Re: within the pgsql Hackers forums, part of the PostgreSQL category; --> On Tue, Feb 15, 2005 at 08:03:39PM +0300, E.Rodichev wrote: > On Tue, 15 Feb 2005, Magnus Hagander wrote: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 03:43 AM
Michael Adler
 
Posts: n/a
Default Re:

On Tue, Feb 15, 2005 at 08:03:39PM +0300, E.Rodichev wrote:
> On Tue, 15 Feb 2005, Magnus Hagander wrote:
> >Question 1: Is your writeback cache really disabled in Linux, on the
> >harddrive? Windows fsync will *write through the disk write cache* if
> >the driver is properly implemented. AFAIK, on Linux if write cache is
> >enabled on the drive, fsync will only get into the cache.

>
> Difficult to say concerning writeback cache... I have 2.6.10 without any
> additional tuning, file system is ext2. From dmesg:
>
> hda: TOSHIBA MK8026GAX, ATA DISK drive
> hda: max request size: 128KiB
> hda: 156301488 sectors (80026 MB), CHS=65535/16/63, UDMA(100)
> hda: cache flushes supported


Write caching is generally on by default with IDE drives. Disable it
like so:
hdparm -W 0 /dev/hda

-Mike Adler

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

« Re: | Re: »

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com