[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu Apr 29 17:14:22 2004 -->
- <!--x-from-r13: qnafpbk ng zvaqfcevat.pbz (Rnaal Qbk) -->
- <!--x-message-id: 1083273197.20245.29.camel@pip -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] redhat 9 ramdrive performance problem -->
- <li><em>date</em>: Thu Apr 29 17:14:22 2004</li>
- <li><em>from</em>: danscox at mindspring.com (Danny Cox)</li>
- <li><em>in-reply-to</em>: <<a href="msg01287.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg01287.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] redhat 9 ramdrive performance problem</li>
On Thu, 2004-04-29 at 08:29, Armsby John-G16665 wrote:
> I have successfully set up a ramdrive with 500 meg of space,
> initialized it, and placed the files I need to regularly access. I
> have changed the CGI code to look to that directory (/mnt/ramdrive) to
> access the files. I am dismayed to find that the performance is
> actually less than simply using normal disk access.
>
> Previously I have set up an identical configuration on a Dell GX 270,
> 1 Gig of ram, and noticed a 2X increase in performance. I measure
> performance by having the cgi script simply calculate the number of
> seconds it is running. Both machines are running redhat 9, both
> machines are running the identical compiled cgi script. Index files
> are identical.
Are you perhaps swapping? See top(1) or even vmstat(8) and look at the
si and so columns (swap-ins/swap-outs).
I have 512 MB on my desktop, and I can sometimes swap when using
Gnome/Evolution/FireFox/Gnumeric. I know that's comparing my setup to a
server, but still.
Also, what do the CGI scripts do? Mostly read the ramdisk files?
Write 'em? Read AND write (database)?
While it's doing it's thing, run top, and see where the CPU time is
going: user, system, nice, or idle. That might give you a hint.
What FS did you build on the ramdisk?
Okay, I'm beginning to ramble.
--
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.
Danny
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01287" href="msg01287.html">[ale] redhat 9 ramdrive performance problem</a></strong>
<ul><li><em>From:</em> John.Armsby at motorola.com (Armsby John-G16665)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01310.html">[ale] Quick tutorial on ssh port forwarding my mail?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01312.html">[ale] Sieve filter examples?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01293.html">[ale] redhat 9 ramdrive performance problem</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01290.html">[ale] PPTP issue that affects Linux but not Windows?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01311"><strong>Date</strong></a></li>
<li><a href="threads.html#01311"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>