[haiku-commits] Re: r41062 - in haiku/trunk: headers/os/mail src/add-ons/mail_daemon/inbound_protocols/pop3 src/apps/mail src/kits/mail src/servers/mail

On Wed, 23 Mar 2011 09:03:03 +1300, Rene Gollent <anevilyak@xxxxxxxxx> wrote:


On Tue, Mar 22, 2011 at 3:54 PM, Clemens <clemens.zeidler@xxxxxxxxxxxxxx> wrote:
Yes that was the reason why I haven't add them in the first place but people
complained about it... How big is the small_data section 1Kb?
Any suggestion to make it better?

IIRC it depends on what BFS's block size is set to for that volume. An
inode consumes an entire block so small_data gets whatever's left at
the end of the block after the actual inode data structures
themselves, which iirc with BFS's default 1KB block size winds up
being somewhere between 400 and 500 bytes.

Regards,

Rene


For example, the subject of this mail has 153 chars. The thread is the same minus "Re: ". The filename contains the Thread plus the sender plus the mail id. This means the subject/thread is stored three times at the moment.

Since the filename starts with the thread it could be used to sort mails by thread but this is not very intuitive... ideas?

Just a rough estimation for this mail:
(filename: 170)

subject: 150
thread: 150
from/to/reply to: 70
account: 20
rest: 20
(whats about attribute names like MAIL:subject?)

total: 410

Haven't checked in detail it but currently the 400 bytes should be hit quite often, especially for the commit mails... Any easy way to get the size of the meta data?

Regards,
        Clemens

Other related posts: