Re: the pause that removes
On Thu, Mar 12, 2009 at 10:37:13PM -0700, prad wrote: > > one of the neat things i've found about freebsd vs linux is the > 'instantaneous' rm. > > when you remove a large file or a substantial directory, freebsd does > it right away ard you get your prompt back, while with every linux i've > tried, you wait and wait and wait. > > i presume freebsd just takes the pointer to the file out so it can be > overwritten, while may be the linuxes fill stuff with zeros or > something like that?? > > is this instantaneity a result of the ufs file system vs say ext3 or > reiser? > ext3 has a journal, so I guess the journal has to be updated after a big delete unlike FreeBSD. This could be the delay you've noticed. I don't know anything about Reiser. To confirm this, you could mount the ext3 as ext2 and see if that helps. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the pause that removes
indeed. FreeBSD actually postpones free space bitmap update. after deleting many gigs of files you'll see disk working after a while. excellent! so is this a freebsd thing or a ufs filesystem thing? for sure FreeBSD implementation of UFS ;) i'm not sure how about UFS on other OS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the pause that removes
On Sat, 14 Mar 2009 20:34:39 +0100 (CET) Wojciech Puchar wrote: > indeed. FreeBSD actually postpones free space bitmap update. after > deleting many gigs of files you'll see disk working after a while. > excellent! so is this a freebsd thing or a ufs filesystem thing? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the pause that removes
I've been under the impression that this (fast deletes) had something indeed. FreeBSD actually postpones free space bitmap update. after deleting many gigs of files you'll see disk working after a while. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the pause that removes
On Thu 2009-03-12 22:37:13 UTC-0700, prad (p...@towardsfreedom.com) wrote: > one of the neat things i've found about freebsd vs linux is the > 'instantaneous' rm. > > when you remove a large file or a substantial directory, freebsd does > it right away ard you get your prompt back, while with every linux i've > tried, you wait and wait and wait. > > i presume freebsd just takes the pointer to the file out so it can be > overwritten, while may be the linuxes fill stuff with zeros or > something like that?? > > is this instantaneity a result of the ufs file system vs say ext3 or > reiser? I've been under the impression that this (fast deletes) had something to do with the "soft updates" feature of UFS. Although, the Wikipedia page doesn't talk about deleting files in particular, so I could be completely wrong about that. http://en.wikipedia.org/wiki/Soft_updates ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the pause that removes
On Sat, 14 Mar 2009 11:02:48 -0400 Lowell Gilbert wrote: > I've never noticed that large directory trees were "instantaneous" to > remove on any filesystem. > that's true too. even fbsd isn't really quick on large trees, but on large files, i get to use my prompt much faster than i do with say debian. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the pause that removes
prad writes: > one of the neat things i've found about freebsd vs linux is the > 'instantaneous' rm. > > when you remove a large file or a substantial directory, freebsd does > it right away ard you get your prompt back, while with every linux i've > tried, you wait and wait and wait. > > i presume freebsd just takes the pointer to the file out so it can be > overwritten, while may be the linuxes fill stuff with zeros or > something like that?? > > is this instantaneity a result of the ufs file system vs say ext3 or > reiser? I've never noticed that large directory trees were "instantaneous" to remove on any filesystem. I haven't done any benchmarks, either, though. I'm not going to accept it as a real FreeBSD advantage unless I saw some solid benchmarks... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
the pause that removes
one of the neat things i've found about freebsd vs linux is the 'instantaneous' rm. when you remove a large file or a substantial directory, freebsd does it right away ard you get your prompt back, while with every linux i've tried, you wait and wait and wait. i presume freebsd just takes the pointer to the file out so it can be overwritten, while may be the linuxes fill stuff with zeros or something like that?? is this instantaneity a result of the ufs file system vs say ext3 or reiser? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"