Message from discussion
mongodb logs & performances
Received: by 10.180.99.163 with SMTP id er3mr1824103wib.2.1352039414805;
Sun, 04 Nov 2012 06:30:14 -0800 (PST)
X-BeenThere: mongodb-dev@googlegroups.com
Received: by 10.216.195.36 with SMTP id o36ls2048901wen.5.gmail; Sun, 04 Nov
2012 06:30:11 -0800 (PST)
Received: by 10.216.211.101 with SMTP id v79mr385586weo.9.1352039411453;
Sun, 04 Nov 2012 06:30:11 -0800 (PST)
Received: by 10.216.211.101 with SMTP id v79mr385585weo.9.1352039411432;
Sun, 04 Nov 2012 06:30:11 -0800 (PST)
Return-Path: <eliothorow...@gmail.com>
Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176])
by gmr-mx.google.com with ESMTPS id bu8si246569wib.2.2012.11.04.06.30.11
(version=TLSv1/SSLv3 cipher=OTHER);
Sun, 04 Nov 2012 06:30:11 -0800 (PST)
Received-SPF: pass (google.com: domain of eliothorow...@gmail.com designates 74.125.82.176 as permitted sender) client-ip=74.125.82.176;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of eliothorow...@gmail.com designates 74.125.82.176 as permitted sender) smtp.mail=eliothorow...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-we0-f176.google.com with SMTP id z53so2587277wey.35
for <mongodb-dev@googlegroups.com>; Sun, 04 Nov 2012 06:30:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:content-type;
bh=8eH1UdDhv68zvEIuHLoeHCvat39Eb2K8yBP14Ebz6/8=;
b=Mmlu6f0UMAAxILp7FuwY6JBh6BUMj3aRW93jlN4CLuMu5JtKCNFgNpSzlnKY/Jnsuw
eF0eZDFbC0qnK0HDUWBMMrqylJz8yd/snhJ6F6LGbtQsS8ylYz7bj/67XOniN0aBA5Tr
sipianep85ohI3b3Hkdntac2OKnrVPZENCSqwBe9rAXMAzVy1f4ILFllLxA4BiGxP+3y
dWeJpbHKBnjyVH1ccXErLpBY/WEUykprVPqzzDB6Odc+q6CavV3lB8Ye2WDXcAbOtlf4
A7B48qGjfGvbPDSNwXDGsYx7Xn+XrXtWz0k/i53Df7NwdSFL2bjoNi9aZahUfZWjNc2L
FJqw==
MIME-Version: 1.0
Received: by 10.180.100.101 with SMTP id ex5mr9646364wib.16.1352039411335;
Sun, 04 Nov 2012 06:30:11 -0800 (PST)
Sender: eliothorow...@gmail.com
Received: by 10.194.45.101 with HTTP; Sun, 4 Nov 2012 06:30:11 -0800 (PST)
In-Reply-To: <1d2b838a-09a4-4580-b9cf-8e27de0a0ec5@googlegroups.com>
References: <1d2b838a-09a4-4580-b9cf-8e27de0a0ec5@googlegroups.com>
Date: Sun, 4 Nov 2012 09:30:11 -0500
Message-ID: <CA+C=T4AJa10eXg8MQNOtiuCA+83iQEwsaHnWAXd7YeEC_xn...@mail.gmail.com>
Subject: Re: [mongodb-dev] mongodb logs & performances
From: Eliot Horowitz <el...@10gen.com>
To: mongodb-dev@googlegroups.com
Content-Type: multipart/alternative; boundary=f46d0442811ad5c0b204cdac34dc
--f46d0442811ad5c0b204cdac34dc
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I would keep it local.
The log writing is buffered, and is highly unlikely to cause performance
problems with the system.
On Wed, Oct 24, 2012 at 10:42 AM, St=E9phane <stephane.cize...@gmail.com>wr=
ote:
> Hello,
> I have a question about mongodb logs and performances.
> I have a replicaset, each mongod instance runs on a Red Hat linux machine=
.
> Each machine has a 2 drives : a local hard disk (ext4 format) and a
> netwok file system.
> The mongo dbpath is located on the local hard disk.
> I have doubts concerning the log files location, I have 2 solutions :
> 1. If the log files are located on the hard disk, the logging performance=
s
> are good but the IO activity is increased on the local hard disk and I
> suppose that it could decrease the global performances ?
> 2. If the log files are located on the netwotk file system, the IO
> activities (logs and datas) are separated. But, in this case, the loggin=
g
> performances are worse than the local location and I don't know if the
> global performances can be affected/decreased ?
> If someone can suggest me the best configuration, it will be very useful
> for me.
>
> Best regards
> St=E9phane
>
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-dev" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mongodb-dev/-/7CsvKEt8100J.
> To post to this group, send email to mongodb-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-dev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-dev?hl=3Den.
>
--f46d0442811ad5c0b204cdac34dc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I would keep it local.<div>The log writing is buffered, and is highly unlik=
ely to cause performance problems with the system.</div><div class=3D"gmail=
_extra"><br><br><div class=3D"gmail_quote">On Wed, Oct 24, 2012 at 10:42 AM=
, St=E9phane <span dir=3D"ltr"><<a href=3D"mailto:stephane.cizeron@gmail=
.com" target=3D"_blank">stephane.cize...@gmail.com</a>></span> wrote:<br=
>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hello,<div>I have a question about mongodb l=
ogs and performances.</div><div>I have a replicaset, each mongod instance r=
uns on a Red Hat linux machine.=A0</div>
<div>Each machine has a 2 drives : a local hard disk (ext4 format) =A0and a=
netwok file system.</div><div>The mongo dbpath is located on the local har=
d disk.</div><div>I have doubts concerning the log files location, I have 2=
solutions :</div>
<div>1.=A0If the log files are located on the hard disk, the logging perfor=
mances are good but the IO activity is increased on the local hard disk and=
I suppose that it could decrease the global performances ?</div><div>2. If=
the log files are located on the netwotk file system, the IO =A0activities=
(logs and datas) are separated. But, in this case, the logging performance=
s are worse than the local location and I don't know if the global perf=
ormances can be affected/decreased ?</div>
<div>If someone can suggest me the best configuration, it will be very usef=
ul for me.</div><div><br></div><div>Best regards</div><span class=3D"HOEnZb=
"><font color=3D"#888888"><div>St=E9phane</div><div><br></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;mongodb-dev" group.<br>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msg/mongodb-dev/-/7CsvKEt8100J" target=3D"_blank">https://groups.googl=
e.com/d/msg/mongodb-dev/-/7CsvKEt8100J</a>.<br>=20
To post to this group, send email to <a href=3D"mailto:mongodb-dev@googlegr=
oups.com" target=3D"_blank">mongodb-dev@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:mongodb-dev=
%2Bunsubscribe@googlegroups.com" target=3D"_blank">mongodb-dev+unsubscribe@=
googlegroups.com</a>.<br>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/mongodb-dev?hl=3Den" target=3D"_blank">http://groups.google.com/group/=
mongodb-dev?hl=3Den</a>.<br>
</font></span></blockquote></div><br></div>
--f46d0442811ad5c0b204cdac34dc--