[Asterisk-Users] drive space for voice mail
Drive space for voice mail I've looked in the dimensioning information on voip-info.org but can't find any hard information on the amount of drive space the various codecs use. Since we would eventually like to support web-based voice mail retrieval, I'm thinking of the wav format. I've specced out 2x160GB drives in RAID-1 (software RAID via Linux) for the box. It will be supporting 30 SIP phones with voice mail. TIA! -Ron ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
Can you say 'overkill' ? *smiles* I just recorded a 2min voicemail and the resulting file on the server was slightly over 200KB in size. We are only storing 1 format of soundfiles, WAV49. A 160GB drive is approx 1,677,721,160 KB. At the rate above you would be able to store almost 28,000 hours of voicemail messages. Someone wanna check my math? -Matthew - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 02, 2004 5:24 PM Subject: [Asterisk-Users] drive space for voice mail > Drive space for voice mail > > I've looked in the dimensioning information on voip-info.org but can't > find any hard information on the amount of drive space the various codecs > use. Since we would eventually like to support web-based voice mail > retrieval, I'm thinking of the wav format. I've specced out 2x160GB drives > in RAID-1 (software RAID via Linux) for the box. It will be supporting 30 > SIP phones with voice mail. > > TIA! > -Ron > > > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
Matthew Boehm wrote: Can you say 'overkill' ? *smiles* I just recorded a 2min voicemail and the resulting file on the server was slightly over 200KB in size. We are only storing 1 format of soundfiles, WAV49. A 160GB drive is approx 1,677,721,160 KB. At the rate above you would be able to store almost 28,000 hours of voicemail messages. Someone wanna check my math? 1,677,721,160 KB / 100 KB/min = 16,777,211.6 minutes / 60 min/hour = 279,620.19 hours 280,000 hours of voicemail :) Someone wanna check my math? -- Christopher L. Wade Unistar-Sparco Computers, Inc. Senior Systems Administratordba Sparco.com Email: [EMAIL PROTECTED] 7089 Ryburn Drive Phone: (901) 872 2272 / (800) 840 8400Millington, TN 38053 Fax: (901) 872 8482 USA ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
Matthew Boehm wrote: Can you say 'overkill' ? *smiles* I just recorded a 2min voicemail and the resulting file on the server was slightly over 200KB in size. We are only storing 1 format of soundfiles, WAV49. A 160GB drive is approx 1,677,721,160 KB. At the rate above you would be able to store almost 28,000 hours of voicemail messages. Someone wanna check my math? Unless my recent math [280,000 hours] was wrong, thats ~ 31 years of voicemail :) -- Christopher L. Wade Unistar-Sparco Computers, Inc. Senior Systems Administratordba Sparco.com Email: [EMAIL PROTECTED] 7089 Ryburn Drive Phone: (901) 872 2272 / (800) 840 8400Millington, TN 38053 Fax: (901) 872 8482 USA ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
Christopher L. Wade wrote: Matthew Boehm wrote: Can you say 'overkill' ? *smiles* I just recorded a 2min voicemail and the resulting file on the server was slightly over 200KB in size. We are only storing 1 format of soundfiles, WAV49. A 160GB drive is approx 1,677,721,160 KB. At the rate above you would be able to store almost 28,000 hours of voicemail messages. Someone wanna check my math? Unless my recent math [280,000 hours] was wrong, thats ~ 31 years of voicemail :) Better get 200GB just to be safe :p ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
On Fri, 2004-12-03 at 11:05 +1100, Adam Hart wrote: > Christopher L. Wade wrote: > > > Matthew Boehm wrote: > > > >> Can you say 'overkill' ? *smiles* > >> > >> I just recorded a 2min voicemail and the resulting file on the server was > >> slightly over 200KB in size. > >> We are only storing 1 format of soundfiles, WAV49. > >> > >> A 160GB drive is approx 1,677,721,160 KB. > >> > >> At the rate above you would be able to store almost 28,000 hours of > >> voicemail messages. > >> > >> Someone wanna check my math? > > > > > > Unless my recent math [280,000 hours] was wrong, thats ~ 31 years of > > voicemail :) > > > > Better get 200GB just to be safe :p Only downside is while you may be scratching your heads making sure the numbers presented are properly computed, I didn't see anyone verify the numbers being used. First your number above is off by a bunch. 160*1024*1024 only has 2 1's, or just 167,772,160 kb. Second, how many bytes available depends on the manufacturer. Seagate's sales lit actually specify 10^9, or exactly 1,000,000,000. Same for Maxtor. Same for WD. I'm giving up searching for any that define a gb as 2^30 like we would expect and the number above actually is based on. So 160gb is only 160,000,000,000 bytes or 149gb of gb=2^30. If you consider the WAV49 header to be nearly nothing in the total space of the file, WAV49 or MS-GSM coding puts 40ms of audio per 65 bytes or 1625 bytes per second. Now, so barring any filesystem questions, the raw capacity could only hold 27,350 hours. (160,000,000,000)/1625 bytes per second /60 seconds per minute /60 minutes per hour = 27,350 hours. Don't forget you lose space when you format the drive. Also remember that under ext2/3 that you are likely to have 4k blocks. While at it isn't much to lose 2-3k of space for each file when you are talking about many k of space per file, it adds up after a while. So in the end, expect that a 160gb drive is only likely to store 27,000 hours of WAV49 recordings if it is the only thing the drive is being used for. -- Steven Critchfield <[EMAIL PROTECTED]> ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
So in the end, expect that a 160gb drive is only likely to store 27,000 hours of WAV49 recordings if it is the only thing the drive is being used for. Thank you everyone for your input... I think I'm safe at reducing them to 2 X 80GB (RAID 1) and still have plenty of room (these drives will also include the OS, * install etc). Eventually the server may end up servicing many remote sites, so I don't mind being slightly over the top. Regards, -Ron___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
> Matthew Boehm wrote: > > Can you say 'overkill' ? *smiles* > > > > I just recorded a 2min voicemail and the resulting file on the server was > > slightly over 200KB in size. > > We are only storing 1 format of soundfiles, WAV49. > > > > A 160GB drive is approx 1,677,721,160 KB. > > > > At the rate above you would be able to store almost 28,000 hours of > > voicemail messages. > > > > Someone wanna check my math? > > Unless my recent math [280,000 hours] was wrong, thats ~ 31 years of > voicemail :) Actually, it works out to about a quarter of that, you need to figure in MTBF. :-) Actual numbers depend on # of simultaneous recordings, etc., of course, but it's just interesting to note that MTBF likely becomes an issue before capacity does. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net "We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again." - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
On Thu, 2004-12-02 at 21:08 -0600, [EMAIL PROTECTED] wrote: > > > So in the end, expect that a 160gb drive is only likely to store > 27,000 > hours of WAV49 recordings if it is the only thing the drive is being > used for. > > > Thank you everyone for your input... I think I'm safe at reducing them > to 2 X 80GB (RAID 1) and still have plenty of room (these drives will > also include the OS, * install etc). Eventually the server may end up > servicing many remote sites, so I don't mind being slightly over the > top. > Maybe you should research the problems of your raid solution. http://www.acnc.com/04_01_01.html IDE raid 1 should be avoided. IDE drives themselves can cause degraded performance on a machine and raid 1 would double the IDE activity. If you were to use a hardware raid option, you would reduce the likely hood of degraded performance due to IDE activity. I don't know if SATA helps any for you, but you need to look into what you can handle. -- Steven Critchfield <[EMAIL PROTECTED]> ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
Maybe you should research the problems of your raid solution. http://www.acnc.com/04_01_01.html IDE raid 1 should be avoided. IDE drives themselves can cause degraded performance on a machine and raid 1 would double the IDE activity. If you were to use a hardware raid option, you would reduce the likely hood of degraded performance due to IDE activity. I don't know if SATA helps any for you, but you need to look into what you can handle. These are 2 x SATA drives. Since when do IDE drives 'degrade performance?' Sure, when compared to SCSI they are slow, but the technology is pretty solid. I don't think we're trying to build a SAN here... -Ron ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
On Thu, 2004-12-02 at 22:38 -0600, [EMAIL PROTECTED] wrote: > > > Maybe you should research the problems of your raid solution. > > http://www.acnc.com/04_01_01.html > > IDE raid 1 should be avoided. IDE drives themselves can cause degraded > performance on a machine and raid 1 would double the IDE activity. If > you were to use a hardware raid option, you would reduce the likely > hood > of degraded performance due to IDE activity. > > I don't know if SATA helps any for you, but you need to look into what > you can handle. > > > These are 2 x SATA drives. > > Since when do IDE drives 'degrade performance?' Sure, when compared to > SCSI they are slow, but the technology is pretty solid. I don't think > we're trying to build a SAN here... Do a search through the archives. Some IDE subsystems are known to hold interupts too long and they interfere with the need for Zap devices to be services 1000 times per second. If you don't service the zap devices on time and without misses you will have degraded voice quality and possibly, if on PRI, you could screw up a call setup or tear down. -- Steven Critchfield <[EMAIL PROTECTED]> ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
> Do a search through the archives. Some IDE subsystems are known to hold > interupts too long and they interfere with the need for Zap devices to > be services 1000 times per second. If you don't service the zap devices > on time and without misses you will have degraded voice quality and > possibly, if on PRI, you could screw up a call setup or tear down. What about unmasking IDE IRQs (supported in Linux, at least) - does that help at all? My biggest complaint about IDE is the varying controller qualities. At least if they all sucked or all worked well it would be one thing, but they're all over the board... ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
On December 3, 2004 12:01 am, Michael 'Moose' Dinn wrote: > What about unmasking IDE IRQs (supported in Linux, at least) - does that > help at all? No -- some controllers just suck. Personally I have no issues with IDE or SCSI software RAID1 on Asterisk, but then again I don't use the problematic chipsets. -A. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
Some IDE subsystems are known to hold interupts too long and they interfere with the need for Zap devices to be services 1000 times per second. If you don't service the zap devices on time and without misses you will have degraded voice quality and possibly, if on PRI, you could screw up a call setup or tear down. Ouch! Thanks for pointing this out. Fortunately on this system it is pure VoIP no Zap cards. However, would the use of SATA drives anyways help to alleviate this problem? The controller is on-board, but it is a dedicated controller. The CPU still has to do the RAID-1 however with this approach. -Ron ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
On Thu, Dec 02, 2004 at 10:18:56PM -0600, Steven Critchfield said: > On Thu, 2004-12-02 at 21:08 -0600, [EMAIL PROTECTED] wrote: > > Thank you everyone for your input... I think I'm safe at reducing them > > to 2 X 80GB (RAID 1) and still have plenty of room (these drives will > > also include the OS, * install etc). Eventually the server may end up > > servicing many remote sites, so I don't mind being slightly over the > > top. > > > > Maybe you should research the problems of your raid solution. > > http://www.acnc.com/04_01_01.html > > IDE raid 1 should be avoided. IDE drives themselves can cause degraded > performance on a machine and raid 1 would double the IDE activity. If > you were to use a hardware raid option, you would reduce the likely hood > of degraded performance due to IDE activity. Use a good card like the 3ware 7500 series (parallel IDE ATA) and there are no problems using IDE ATA drives. 3ware uses hardware raid unlike the garbage promise chips that Claim hardware raid, but are not in reality. IED Raidsets on 3ware show up as scsi drives to the system. 3ware is one of those rare companies that have Great linux support. You get what you pay for. The controller card may cost as much or more than the drives. Linux SATA support is still a little weak, but the performance can be much better for the higher-end SATA drives. Use of a good raid card like 3ware makes Linux compatability a non-issue. I agree that software raid should be avoided. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
Personally I have no issues with IDE or SCSI software RAID1 on Asterisk, but then again I don't use the problematic chipsets. I searched and found that Promise controllers were causing issues for some. Any others you know of off the top of your head? -Ron___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
On Fri, 2004-12-03 at 09:27 -0600, [EMAIL PROTECTED] wrote: > > > Personally I have no issues with IDE or > SCSI software RAID1 on Asterisk, but then again I don't use the > problematic > chipsets. > > > I searched and found that Promise controllers were causing issues for > some. Any others you know of off the top of your head? With the huge number of vairables, it is a good idea to not introduce more problems than neccessary. I assume you are thinking of RAID 1 for the redundancy since you are likely to lose the entire IDE channel and possibly the chipset if you have a drive failure. Consider what your recovery plan is with a software raid. If you lose your primary drive, you won't be able to boot from the array. So now you are on some other boot media and needing to repair the array. Basically, if you want to bring yourself closer to enterprise level by using RAID, why don't you take the extra step and make sure you can hot swap failed components and not have to take your system down. After a friend of mine lost his array of SCSI drives due to the one drive failing to spin back up after replacing the other, I don't feel comfortable with non hotswap in drive arrays important enough for RAID. Anyways, like many things, there isn't a boolean yes or no answer to some choices. It just is a matter of how comfortable you are with certain levels of performance/risk. -- Steven Critchfield <[EMAIL PROTECTED]> ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
On December 3, 2004 10:27 am, [EMAIL PROTECTED] wrote: > I searched and found that Promise controllers were causing issues for > some. Any others you know of off the top of your head? Promise are the biggies yes. I have heard good things about the 3ware cards. -A. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
I assume you are thinking of RAID 1 for the redundancy since you are likely to lose the entire IDE channel and possibly the chipset if you have a drive failure. Consider what your recovery plan is with a software raid. If you lose your primary drive, you won't be able to boot from the array. So now you are on some other boot media and needing to repair the array. Actually, with Linux software RAID-1 you can make sure that the boot information is contained on both drives. You *are* able to boot off of the RAID-1 array should (or rather, when) a drive failure happen(s). See: http://willert.dk/geek/raid.html With this setup, you just need to monitor for the drive failure. Pretty darn cool IMO. Regards, -Ron___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] drive space for voice mail
Use a good card like the 3ware 7500 series (parallel IDE ATA) and there are no problems using IDE ATA drives. 3ware uses hardware raid unlike the garbage promise chips that Claim hardware raid, but are not in reality. IED Raidsets on 3ware show up as scsi drives to the system. 3ware is one of those rare companies that have Great linux support. You get what you pay for. The controller card may cost as much or more than the drives. Linux SATA support is still a little weak, but the performance can be much better for the higher-end SATA drives. Use of a good raid card like 3ware makes Linux compatability a non-issue. I agree that software raid should be avoided. Thanks for the tip on the 3Ware cards. Looks like I can pick up the 8000 (SATA RAID 0,1) 2-port for around $150.00 US. Thanks again, -Ron ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users