Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

Re: [KFUG] md



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ] [ °Ë»ö]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


On Tue, Mar 15, 2005 at 02:39:04PM +0900, Yeongsik Son wrote:
 > php 에서
 > 
 > <?php
 > @DEFINE( 'cIS_INCLUDED', (double)microtime( TRUE ) );
 > ?>
 > 
 > 위의 소스를 이용, 인클루드전에 마이크로타임 찍고 인클루드하고 인클루드후에 마이크로타임 찍어서 나타난 차이값이라는 군요.
 > 
 > 하드웨어는 그냥 투알라틴 코어 셀러론 1.1g 랍니다. 메모리가 달랑 128m 라는 군요.
 > 

michelle# uname -r
5.3-RELEASE
michelle# truncate -s 10M /tmp/vnode_file
michelle# mdconfig -a -t malloc -s 10m
michelle# dd if=/dev/zero of=/tmp/vnode_file bs=1M count=10
10+0 records in
10+0 records out
10485760 bytes transferred in 0.269812 secs (38863227 bytes/sec)
michelle# dd if=/dev/zero of=/dev/md0 bs=1M count=10
10+0 records in
10+0 records out
10485760 bytes transferred in 0.030116 secs (348180858 bytes/sec)

차이를 보시면 file일경우 38863227 bytes/sec, md일경우
348180858 bytes/sec입니다.
-- 
Regards,
Pyun YongHyeon
http://www.kr.freebsd.org/~yongari	|	yongari@xxxxxxxxxxx
_______________________________________________
한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트
questions at kr.FreeBSD.org
http://www.kr.FreeBSD.org/mailman/listinfo/questions


[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ] [ °Ë»ö]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2005/03/15 17:49:38 $
Powered by FreeBSD