lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ljco928j.fsf@basil.nowhere.org>
Date:	Thu, 15 Apr 2010 17:14:52 +0200
From:	Andi Kleen <andi@...stfloor.org>
To:	cy6erGn0m <cy6ergn0m@...il.com>
Cc:	tytso@....edu, Eric Sandeen <sandeen@...hat.com>,
	linux-ext4@...r.kernel.org
Subject: Re: No space left on device after many files creation

cy6erGn0m <cy6ergn0m@...il.com> writes:
> I use filysystem as Set data structure to make fast checks from scripts.
> Of course I can make long long file and test it with grep but it's will
> have linear performance degradation (List), at the same time file system
> has efficient tree binary structures (smth. like TreeSet). So, using
> filesystem is the simplest way to do this efficient. Also I always have
> timestamps for every entry. In this usecase all files are always empty.

If the files are always empty you could just create hard links: 
ln file number instead of touch.
Then you'll only need a single inode for your complete set
and also avoid a lot of seeking.

-Andi

-- 
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ