Re: [vchkpw] Opinions needed

2009-01-27 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 DAve wrote: In the last two years we and other ISPs we know have dropped any hope of quotas. Disk space is cheap, and clients want unlimited space because, All the online email services have no limit!. While we still have quotas, I am pretty

Re: [vchkpw] Opinions needed

2009-01-23 Thread Tom Collins
On Jan 22, 2009, at 1:43 AM, Matt Brookings wrote: Where do you come up with 128bit from? On most systems a 'long long' is going to be a 64bit integer. That's what I'm currently using. Sorry, you're right on that. Why isn't it enough to keep the current quota system, and just update all

Re: [vchkpw] Opinions needed

2009-01-23 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Collins wrote: On Jan 22, 2009, at 1:43 AM, Matt Brookings wrote: Where do you come up with 128bit from? On most systems a 'long long' is going to be a 64bit integer. That's what I'm currently using. Sorry, you're right on that. Why

Re: [vchkpw] Opinions needed

2009-01-23 Thread DAve
Matt Brookings wrote: My current TODO: * Disk updates must be deferrable; maybe with threading * Statistics gathering like average disk poll time, biggest poll time, shortest poll time, etc As you can see, the deferring updates is not yet implemented. The performance I'm currently seeing

Re: [vchkpw] Opinions needed - Bignum Arithmetic

2009-01-22 Thread Manvendra Bhangui
On Wed, 2009-01-21 at 21:13 -0800, Tom Collins wrote: Two thoughts on quotas. You're going to have to deal in sub-megabyte numbers, since the size of most messages are measured in KB. Maybe you could track the quota in kbytes, rounding up/down as necessary? All programs that deal

[vchkpw] Opinions needed

2009-01-21 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Some of you may be aware I'm working on changes and additions to the quota system in vpopmail. Part of the aim of the updated system is to provide future-proofing against the problems we're having now, where quota sizes and usage counts are

Re: [vchkpw] Opinions needed

2009-01-21 Thread Rick Romero
I personally don't require it. It also seems to me with disk space costing what it does, and compression being readily available (via plugins, ZFS, or what have you) it shouldn't really be an issue. Are there any applications that display the actual quota amount that do NOT round to the

Re: [vchkpw] Opinions needed

2009-01-21 Thread Wouter van der Schagt
My question is this; would anyone ever require a quota below a megabyte, or, would any application ever really need to know about specific usage counts below a megabyte? Not us, however current applications assume the format is in bytes (for example the maildirsize file) so calucalations will

Re: [vchkpw] Opinions needed

2009-01-21 Thread Jukka Kurkela
i don't really see 16 exabyte mailboxes in near future. But when the time comes for those, there should be 128bit processors and operating systems, so replacing the 64bit unsigned int with a 128bit one at that point should not be a too great deal. Maybe future proof by defining the thing in

Re: [vchkpw] Opinions needed

2009-01-21 Thread Tom Collins
On Jan 21, 2009, at 6:46 AM, Matt Brookings wrote: My question is this; would anyone ever require a quota below a megabyte, or, would any application ever really need to know about specific usage counts below a megabyte? When calculating usage, I'm thinking about making the smallest measure