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


Groups > comp.os.linux.development.system > #806

Re: mmap without automatic flush to disk

X-Received by 2002:ac8:409e:0:b0:3bf:b829:46ca with SMTP id p30-20020ac8409e000000b003bfb82946camr2602060qtl.1.1678086444284; Sun, 05 Mar 2023 23:07:24 -0800 (PST)
X-Received by 2002:aca:1c09:0:b0:384:2019:c201 with SMTP id c9-20020aca1c09000000b003842019c201mr3048174oic.8.1678086443944; Sun, 05 Mar 2023 23:07:23 -0800 (PST)
Path csiph.com!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups comp.os.linux.development.system
Date Sun, 5 Mar 2023 23:07:23 -0800 (PST)
In-Reply-To <l855vv$5bl$1@dont-email.me>
Injection-Info google-groups.googlegroups.com; posting-host=2405:201:d023:3aca:ddf2:fb0:48c9:d838; posting-account=-Ffp6woAAABjpoFQBIFeu6dv2jz5I1hd
NNTP-Posting-Host 2405:201:d023:3aca:ddf2:fb0:48c9:d838
References <b782a336-a84e-434e-ba98-f39ea433fae9@googlegroups.com> <l855vv$5bl$1@dont-email.me>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <e42e7916-ddf2-4aec-9b81-6df21b396f52n@googlegroups.com> (permalink)
Subject Re: mmap without automatic flush to disk
From Pavankumar S V <pavankumarsv96@gmail.com>
Injection-Date Mon, 06 Mar 2023 07:07:24 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Received-Bytes 2620
Xref csiph.com comp.os.linux.development.system:806

Show key headers only | View raw


On Tuesday, 10 December 2013 at 01:04:22 UTC+5:30, Lusotec wrote:
> -----BEGIN PGP SIGNED MESSAGE----- 
> Hash: SHA256
> abi.va...@gmail.com wrote: 

> If you are memory mapping a file then Linux will write dirty pages 
> (changed/written memory pages) to disk when it wants to free memory or when 
> these pages are older than a certain configurable time. You can increase the 
> duration dirty pages are kept without being written to the file system but I 
> don't think there is any way to disable the first behavior.

Please let me know how to increase the duration dirty pages are kept without being written to the file system. I tried achieving this by changing the kernel paramters "dirty_writeback_centisecs" to 0 for some time and changed back to the default value to disable the flushing for some time. But it worked only partially and also the operations to used to write these parameters is taking too much time for execution.
Please let me know if there are any other methods to achieve this.

Best Regards,
Pavankumar

> 
> Regards. 
> -----BEGIN PGP SIGNATURE----- 
> Version: GnuPG v1.4.10 (GNU/Linux) 
> 
> iF4EAREIAAYFAlKmGz4ACgkQGQjO2ccW76qZMwD6At6S5x2X/fr8Ksz9iVdocmrk 
> YKDQdDjx3SxRDqx8hewA/j5dOD43ku/dI3xJUY7iXGHbMulN4iyQEqmvv8501gB7 
> =R0T5 
> -----END PGP SIGNATURE-----

Back to comp.os.linux.development.system | Previous | NextPrevious in thread | Find similar


Thread

mmap without automatic flush to disk abi.varghese@gmail.com - 2013-12-09 09:43 -0800
  Re: mmap without automatic flush to disk Lusotec <nomail@nomail.not> - 2013-12-09 19:34 +0000
    Re: mmap without automatic flush to disk Pavankumar S V <pavankumarsv96@gmail.com> - 2023-03-05 23:07 -0800

csiph-web