OCG Technical Support
2008-Jun-12 01:23 UTC
[asterisk-users] Asterisk on SLOW solid state disk
I'm looking at building up a standard asterisk system fanless/no moving parts. I found a cheap solid state disk (Transcend TS32GSSD25S-M), but it is SLOW...25mb/sec read 8mb/sec write. Has anyone tried a slow disk like this on asterisk? Will this delay voice prompts or screw up ast/linux in any interesting way? (I know there are linux distros and Asterisk projects designed to run off CF, but I'm hoping to stay mainstream) Thanks, MD -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080611/e1a8f338/attachment.htm
On Thu, Jun 12, 2008 at 3:23 AM, OCG Technical Support <support at ocg.ca> wrote:> I'm looking at building up a standard asterisk system fanless/no moving > parts. I found a cheap solid state disk (Transcend TS32GSSD25S-M), but it > is SLOW...25mb/sec read 8mb/sec write. >I'm developing an asterisk based PBX on a TRASCEND DOM (ssd). At boot all seems slow, but since Linux kernels use higly buffered read/write operations, i will not have problems at all. But, consider to: 1. Use many many RAM. Astersik use few RAM but huge RAM is needed for disk buffers. 2. Screw the system and avoid all unnecessary writes on disk: logs, db, recordings, etc. 3. Do NOT use a journaled filesystem: i use ext2 3. Avoid swap (see 1) Bye. PicoStreamer - the real WEB live streaming software vinz486.com
On Wed, 11 Jun 2008, OCG Technical Support wrote:> I'm looking at building up a standard asterisk system fanless/no moving > parts. I found a cheap solid state disk (Transcend TS32GSSD25S-M), but it > is SLOW...25mb/sec read 8mb/sec write.M bits/sec or bytes/sec? If bytes, then that's a fast device! If bits, then it's about right.> Has anyone tried a slow disk like this on asterisk? Will this delay voice > prompts or screw up ast/linux in any interesting way?The easy answer is to not run directly off the flash, but to unload the flash into RAM and run from a ramdisk. This is what I do in my systems - boot off flash into RAM, then everything runs in RAM. Except a separate partition for voicemail. Eg: Filesystem Size Used Avail Use% Mounted on /dev/ram0 136M 105M 32M 77% / tmpfs 244M 0 244M 0% /dev/shm /dev/hda3 64M 1.9M 63M 3% /data Even if you're running "live" out of flash, it'll be fine as Linux will buffer everything up in RAM anyway, so you might have a 'hit' the first time round (unlikely though), but after that it ought to stay in RAM if you've got enough.> (I know there are linux distros and Asterisk projects designed to run off > CF, but I'm hoping to stay mainstream)I'd suggest rolling your own rather than running directly off flash though. Gordon
25mb/sec isn't too bad it depends on how busy the system is. You could place most read prompts in to a ramdisk, however, the Linux kernel will cache frequently read files anyways... Brian On Wed, Jun 11, 2008 at 7:23 PM, OCG Technical Support <support at ocg.ca> wrote:> I'm looking at building up a standard asterisk system fanless/no moving > parts. I found a cheap solid state disk (Transcend TS32GSSD25S-M), but it > is SLOW...25mb/sec read 8mb/sec write. > > > > Has anyone tried a slow disk like this on asterisk? Will this delay voice > prompts or screw up ast/linux in any interesting way? > > > > (I know there are linux distros and Asterisk projects designed to run off > CF, but I'm hoping to stay mainstream) > > > > Thanks, > > MD > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- -- Brian McManus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080613/fdbd8ed3/attachment.htm