BackupsTCP Port NumbersDefault TCP port numbers for MongoDB processes:
LinuxGeneral Unix Notes
Linux Kernel VersionsSome have reported skepticism on behavior of Linux 2.6.33-31 and 2.6.32 kernel. 2.6.36 is given a thumbs up by the community. For those running databases on ext4 filesystems, a 2.6.23 kernel is required for efficient filesystem preallocation, 2.6.25 is required for XFS support of the same feature. High filesystem I/O following the allocation of new database files is one symptom of this problem. Checking Disk IOiostat -txm 2 If the timestamp feature is not available, iostat -xm 2 Checking Network IOStorageSolid State Disks (SSDs)
RAIDTypically we recommend using RAID-10. RAID-5 and RAID-6 can be slow. See also the ec2 page for comments on EBS striping. Linux File SystemsMongoDB uses large files for storing data, and preallocates these. These filesystems seem to work well:
In addition to the file systems above you might also want to (explicitly) disable file/directory modification times by using these mount options:
We have found ext3 to be very slow in allocating files (or removing them) as well as access within large files is also poor. Remote mountsWe have found that some versions of NFS perform very poorly and do not recommend using NFS. See the NFS page for more information. Amazon elastic block store (EBS) seems to work well up to its intrinsic performance characteristics, when configured well. What Hardware?MongoDB tends to run well on virtually all hardware. In fact it was designed specifically with commodity hardware in mind (to facilitate cloud computing); that said it works well on very large servers too. That said if you are about to buy hardware here are a few suggestions:
Tips |

PLEASE POST QUESTIONS IN THE FORUMS: http://groups.google.com/group/mongodb-user. Post tips and clarifications here.
blog comments powered by Disqus