CERC Performance Question

Celso K. Webber celso at webbertek.com.br
Wed Jul 26 09:30:56 CDT 2006


Hello,

I believe you should also do a 'sync' before and after the 'dd' comand, and
thus sum up both values measured by the 'time' command.

For instance:
# sync
# time dd of=/dev/zero if=big_file bs=1024 count=5120000
...
# time sync
...

And then sum up both values to get a real measurement of performance without
being influenced by Linux caching.

Regards,

Celso.

On Wed, 26 Jul 2006 15:54:59 +0200, Tino Schwarze wrote
> On Wed, Jul 26, 2006 at 03:42:18PM +0200, Florent Gilain wrote:
> > Hi all,
> > 
> > I have many PE1850 and 2800 with Perc4 raid card with 2 RAID 1 Hard disk,
> > here is what i get :
> > 
> > [root at apache1 usr]# date; dd if=/dev/zero of=big_file bs=1024 count=5120000;
> > date
> > mer jui 26 15:33:31 CEST 2006
> > 5120000+0 enregistrements lus.
> > 5120000+0 enregistrements écrits.
> > mer jui 26 15:35:59 CEST 2006
> > [root at apache1 usr]# date; dd of=/dev/zero if=big_file bs=1024 count=5120000;
> > date
> > mer jui 26 15:36:41 CEST 2006
> > 5120000+0 enregistrements lus.
> > 5120000+0 enregistrements écrits.
> > mer jui 26 15:38:31 CEST 2006
> > 
> > This seems very bad performances no ?
> 
> You can use "time dd of=/dev/zero if=big_file bs=1024 count=5120000" 
> to get a more precise measurement...
> 
> Bye,
> 
> Tino.
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq


--
Celso K. Webber <celso at webbertek.com.br>
(41) 3284-3035
(41) 8813-1919



More information about the Linux-PowerEdge mailing list