From: =?ISO-8859-1?Q?J=E9r=F4me_Poulin?= Subject: Re: Stressing GC Date: Thu, 11 Jun 2009 12:51:17 -0400 Message-ID: References: <20090610210859.GA17619@apu.cs.fiu.edu> <4A30856F.3000103@0bits.com> <20090611153950.GA26921@apu.cs.fiu.edu> <20090611152040.GF21314@aardappel.13thmonkey.org> Reply-To: NILFS Users mailing list Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1747278941==" Return-path: In-Reply-To: <20090611152040.GF21314-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org Errors-To: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org To: NILFS Users mailing list --===============1747278941== Content-Type: multipart/alternative; boundary=00163630f2dbb8870c046c1567f2 --00163630f2dbb8870c046c1567f2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > > On Thu, Jun 11, 2009 at 11:39:50AM -0400, Luis Useche wrote: > With the current GC implementation, I am unable to do my experiment. I set > "protection_period 0" but still have the problem. Besides, this is > probably not the right solution either since the GC can do unnecessary work > that can underestimate the potential of nilfs. I need the first option (1) > from the first paragraph above. > For this situation, would it be possible instead, to have to GC collect all the space that can be freed, have the filesystem informed of what blocks can be freed anytime (like a memory cache which can be flushed anytime), and have the FS give the free space information for what it calculated as removable? So with this we could have checkpoint for longuer than the protection_period and still have the free space available for thing the filesystem can just overwrite. I really don't know how it is coded as I'm just a user for now, but that would be even greater. On Thu, Jun 11, 2009 at 11:20 AM, Reinoud Zandijk wrote: > > idealiter there should be an analog to VMS's purge command, say purge_nilfs > or > `nilfs purge /mnt' that flushes all data not protected by a snapshot or the > last checkpoint. That would be a great alternative thinking of the current state of the project, if it's possible to tell the GC to flush all non protected data 'right now'. --00163630f2dbb8870c046c1567f2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Thu, Jun 11, 2009 at 11:39:50AM -0400, Luis Useche wrote:
With the current GC implementation, I am unable to do my experime= nt. I set
"protection_period 0" but still have the problem. Besides, this = is
probably not the right solution either since the GC can do unnecessary wor= k
that can underestimate the potential of nilfs. I need the first option (1)=
from the first paragraph above.
=A0
For t= his situation, would it be possible instead, to have to GC collect all the = space that can be freed, have the filesystem informed of what blocks can be= freed anytime (like a memory cache which can be flushed anytime), and have= the FS give the free space information for what it calculated as removable= ? So with this we could have checkpoint for longuer than the protection_per= iod and still have the free space available for thing the filesystem can ju= st overwrite. I really don't know how it is coded as I'm just a use= r for now, but that would be even greater.

On Thu, Jun 11, 2009 at 11:20 AM, Reinoud Zandijk <reinoud-S783fYmB3Ccdnm+yROfE0A@public.gmane.org> wrote:=A0

idealiter there should be an analog to VMS's purge command, say p= urge_nilfs or
`nilfs purge /mnt' that flushes all data not protected by a snapshot or= the
last checkpoint.

That would be a great alternative thi= nking of the current state of the project, if it's possible to tell the= GC to flush all=A0non protected data 'right now'.
--00163630f2dbb8870c046c1567f2-- --===============1747278941== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ users mailing list users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org https://www.nilfs.org/mailman/listinfo/users --===============1747278941==--