Chris Berry wrote: >>From: Jesse Guardiani <[EMAIL PROTECTED]>
[...] > >> > That seems like it would end up being slower to me, though less >> > resourse hungry. >> >>Not slower, but faster. We'd be eliminating a step. We currently do this: >> >>STDIN (which is either RAM or a temp file on disk) -> RAM -> DISK >>but I propose we do this: >>STDIN -> DISK >>(with the exception of the headers, of course.) > > We're starting to exceed my knowledge of TMDA, however I don't think it's > as easy as you're making it sound. I hate to disappoint you, but it is that simple. I did it last night with my custom Python script (which is nearly 90% original TMDA code) by changing 3 lines. See my email from a few minutes ago for details. I plan to patch all of TMDA later today. > >> > Because buying more ram is cheap, but trying to get a faster hard drive >>is >> > expensive. >> >>This argument might work on other mail servers (maybe), but not on a qmail >>server. Qmail servers are designed to be limited by the thruput of the >>disk. They don't use RAM or CPU unless they have to. > > Yes, but disk is expensive nowadays while ram is cheap, adding to your > disk I/O with more stuff is just silly. I really feel like you're not making an effort to read what I wrote you. This "fix" will not, in any way, create MORE disk traffic. It will merely eliminate an unnecessary step. Again, this is what we're doing now: STDIN->RAM->DISK and this is what the "fix" does: STDIN->DISK A small part of the message is still copied into RAM: The headers But the rest goes directly from STDIN to whatever output we're using (disk, STDOUT, etc...). > >>And frankly, this is an excellent way to deal with email, especially when >>you consider that my T1's bandwidth will likely fill up before my disk >>will max out. > > Perhaps, but buying more bandwidth is pretty easy, speeding up your hard > drive is not. Again, I have to disagree. But maybe that's just because I'm a sys admin with a relatively tight budget. We bought our current mail server (DELL PowerEdge 4300 P-II 500Mhz w/Ultra SCSI-2 RAID 5 - 8 drive array) for under $500 on ebay. Those drives are plenty fast. When we bought the server, it had 500M of PC 100 SDRAM. I recently upgraded to 1Gb of PC100 registered ECC SDRAM for $200, nearly half the cost of the entire server. My T1, on the other hand, costs a hefty bundle *every month*. Definately not cheap. [...] >> > Still, I'm sure if you manage to >> > write something solid that avoids the problems people have mentioned >>Jason >> > would probably take a good look at it. >> >>That's what I'm counting on. In my experience, programmers rarely refuse >>free code. > > Isn't open source a beautiful thing? Indeed it is. I enjoy working with Open Source groups most thoroughly. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
