[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NFS on tty00 & gcc -v



深海です。

suz@hpc.bs1.fc.nec.co.jp さんは書きました:

>-- hw.c ---
>#include <stdio.h>
>main() { printf("hello world\n");}
>
>を作って
>
>time gcc -v -O2 hw.c
>time gcc -v -O2 hw.c
>
>でどれぐらいでしょう?

さっそくトライ。 pppd の設定は変えてないです。

e-65# time gcc -v -O2 hw.c && time gcc -v -O2 hw.c
Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 /usr/libexec/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -D__ANSI_CO
MPAT -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__NetBSD__ -D__ELF__ -Dmips
 -D__NO_LEADING_UNDERSCORES__ -D__GP_SUPPORT__ -D_R3000 -D__ANSI_COMPAT -D__MIPS
EL__ -D__R3000__ -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__NetBSD__ -D__ELF__ -D__mip
s__ -D__NO_LEADING_UNDERSCORES__ -D__GP_SUPPORT__ -D_R3000 -D__MIPSEL -D__R3000
-D__SYSTYPE_BSD -D__mips -Asystem(unix) -Asystem(NetBSD) -Amachine(mips) -D__OPT
IMIZE__ -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int hw.c /tmp/ccolLiAt.i
GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) [AL 1.1, MM 40] BSD M
ips
#include "..." search starts here:
#include <...> search starts here:
 /usr/include
End of search list.
 /usr/libexec/cc1 /tmp/ccolLiAt.i -mabicalls -quiet -dumpbase hw.c -O2 -version
-o /tmp/ccUZS2Nk.s
GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release) (mipsel-netbsd) compile
d by GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release).
 as -v -O2 -o /tmp/ccr7Shtn.o /tmp/ccUZS2Nk.s
GNU assembler version 2.9.1 (mips-dec-netbsd), using BFD version 2.9.1
 /usr/libexec/collect2 -non_shared -dynamic-linker /usr/libexec/ld.elf_so -e __s
tart -dc -dp -Bdynamic /usr/lib/crt0.o /usr/lib/crtbegin.o -L/usr/libexec /tmp/c
cr7Shtn.o -lgcc -lc -lgcc /usr/lib/crtend.o
1.6u 2.3s 7:46.16 0.8% 0+0k 12+48io 878pf+0w
Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 /usr/libexec/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -D__ANSI_CO
MPAT -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__NetBSD__ -D__ELF__ -Dmips
 -D__NO_LEADING_UNDERSCORES__ -D__GP_SUPPORT__ -D_R3000 -D__ANSI_COMPAT -D__MIPS
EL__ -D__R3000__ -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__NetBSD__ -D__ELF__ -D__mip
s__ -D__NO_LEADING_UNDERSCORES__ -D__GP_SUPPORT__ -D_R3000 -D__MIPSEL -D__R3000
-D__SYSTYPE_BSD -D__mips -Asystem(unix) -Asystem(NetBSD) -Amachine(mips) -D__OPT
IMIZE__ -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int hw.c /tmp/ccydX0JU.i
GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) [AL 1.1, MM 40] BSD M
ips
#include "..." search starts here:
#include <...> search starts here:
 /usr/include
End of search list.
 /usr/libexec/cc1 /tmp/ccydX0JU.i -mabicalls -quiet -dumpbase hw.c -O2 -version
-o /tmp/cc3VcyDb.s
GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release) (mipsel-netbsd) compile
d by GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release).
 as -v -O2 -o /tmp/ccPEsC1r.o /tmp/cc3VcyDb.s
GNU assembler version 2.9.1 (mips-dec-netbsd), using BFD version 2.9.1
 /usr/libexec/collect2 -non_shared -dynamic-linker /usr/libexec/ld.elf_so -e __s
tart -dc -dp -Bdynamic /usr/lib/crt0.o /usr/lib/crtbegin.o -L/usr/libexec /tmp/c
cPEsC1r.o -lgcc -lc -lgcc /usr/lib/crtend.o
1.9u 1.4s 0:24.25 13.9% 0+0k 0+36io 0pf+0w
e-65# ls -l
total 17
-rwxr-xr-x  1 root  wheel  15816 May 15 21:57 a.out
-rw-r--r--  1 root  wheel     54 May 15 21:46 hw.c
e-65# ./a.out
hello world

hello world に 8 分。ううむ。



母艦にて:
dns1# pppstats -w 5
      IN   PACK VJCOMP  VJUNC  VJERR  |      OUT   PACK VJCOMP  VJUNC NON-VJ
   21897    128     17     39      0  |    31346    141     10     48     83
       0      0      0      0      0  |        0      0      0      0      0
    3845     13      0      1      0  |    43926     38      0      1     37
    3585     13      0      0      0  |    52323     43      0      0     43
    2371      8      0      0      0  |    53576     39      0      0     39
    1796      6      0      0      0  |    53998     38      0      0     38
    1793      6      0      0      0  |    53859     38      0      0     38
    2093      7      0      0      0  |    54432     38      0      0     38
    1795      6      0      0      0  |    53702     38      0      0     38
    3420     13      1      1      0  |    52321     43      1      1     41
    4504     15      0      2      0  |    51598     45      0      2     43
    1793      6      0      0      0  |    53893     38      0      0     38
    3769     15      0      4      0  |    52174     45      0      4     41
    1791      6      0      0      0  |    53825     38      0      0     38
    2944     10      0      0      0  |    50064     39      0      0     39
   12602     43      0      0      0  |    34288     59      0      0     59
   13005     47      1      1      0  |    36677     62      0      2     60
    2909     10      0      0      0  |    52989     41      0      0     41
    1794      6      0      0      0  |    52898     37      0      0     37
    2093      7      0      0      0  |    54403     39      0      0     39
      IN   PACK VJCOMP  VJUNC  VJERR  |      OUT   PACK VJCOMP  VJUNC NON-VJ
    1797      6      0      0      0  |    51358     36      0      0     36
    1796      6      0      0      0  |    54916     39      0      0     39
    2408      9      0      2      0  |    53459     40      0      2     38
    1803      6      0      0      0  |    54371     38      0      0     38
    1799      6      0      0      0  |    54844     39      0      0     39
    2105      7      0      0      0  |    53405     38      0      0     38
    1805      6      0      0      0  |    53886     38      0      0     38
    2103      7      0      0      0  |    54838     39      0      0     39
    1795      6      0      0      0  |    53883     38      0      0     38
    1792      6      0      0      0  |    55323     39      0      0     39
    2089      7      0      0      0  |    53404     38      0      0     38
    1791      6      0      0      0  |    55412     39      0      0     39
    2091      7      0      0      0  |    53335     38      0      0     38
    1788      6      0      0      0  |    53884     38      0      0     38
    1791      6      0      0      0  |    53888     38      0      0     38
    2087      7      0      0      0  |    53815     38      0      0     38
    1790      6      0      0      0  |    54930     39      0      0     39
    1792      6      0      0      0  |    52474     37      0      0     37
    1796      6      0      0      0  |    49379     35      0      0     35
    1791      6      0      0      0  |    53812     38      0      0     38
      IN   PACK VJCOMP  VJUNC  VJERR  |      OUT   PACK VJCOMP  VJUNC NON-VJ
    2090      7      0      0      0  |    54907     39      0      0     39
    1789      6      0      0      0  |    53908     38      0      0     38
    2092      7      0      0      0  |    53815     38      0      0     38
    1789      6      0      0      0  |    54908     39      0      0     39
    1795      6      0      0      0  |    53812     38      0      0     38
    2093      7      0      0      0  |    53402     38      0      0     38
    1796      6      0      0      0  |    53884     38      0      0     38
    2097      7      0      0      0  |    54838     39      0      0     39
    1798      6      0      0      0  |    54361     38      0      0     38
    1794      6      0      0      0  |    54840     39      0      0     39
    2089      7      0      0      0  |    53404     38      0      0     38
    1784      6      0      0      0  |    54366     38      0      0     38
    2086      7      0      0      0  |    54357     39      0      0     39
    1784      6      0      0      0  |    54371     38      0      0     38
    1809      6      0      0      0  |    54840     39      0      0     39
    2059      7      0      0      0  |    54911     39      0      0     39
    1783      6      0      0      0  |    53881     38      0      0     38
    2087      7      0      0      0  |    53331     38      0      0     38
    1789      6      0      0      0  |    55392     39      0      0     39
    1793      6      0      0      0  |    53826     38      0      0     38
      IN   PACK VJCOMP  VJUNC  VJERR  |      OUT   PACK VJCOMP  VJUNC NON-VJ
    2095      7      0      0      0  |    54912     39      0      0     39
    1794      6      0      0      0  |    54372     38      0      0     38
    2097      7      0      0      0  |    54364     39      0      0     39
    1804      6      0      0      0  |    54371     38      0      0     38
    1960      6      0      0      0  |    53335     38      0      0     38
    1949      7      0      0      0  |    54927     39      0      0     39
    1801      6      0      0      0  |    54373     38      0      0     38
    3916     15      1      1      0  |    51500     45      1      1     43
    5495     19      0      0      0  |    48683     46      0      0     46
    3466     12      0      0      0  |    51801     42      0      0     42
    1499      5      0      0      0  |    48340     34      0      0     34
    2094      7      0      0      0  |    52386     37      0      0     37
    1794      6      0      0      0  |    54906     39      0      0     39
    1839      6      0      0      0  |    53817     38      0      0     38
    2207      9      1      1      0  |    53996     40      0      2     38
    1790      6      0      0      0  |    53414     38      0      0     38
    1794      6      0      0      0  |    53830     38      0      0     38
    2092      7      0      0      0  |    53891     38      0      0     38
    1792      6      0      0      0  |    53884     38      0      0     38
    2091      7      0      0      0  |    54356     39      0      0     39
      IN   PACK VJCOMP  VJUNC  VJERR  |      OUT   PACK VJCOMP  VJUNC NON-VJ
    1798      6      0      0      0  |    55391     39      0      0     39
    1799      6      0      0      0  |    53810     38      0      0     38
    2099      7      0      0      0  |    52381     37      0      0     37
    8968     32      1      1      0  |    43475     55      1      1     53
   13265     46      0      0      0  |    38228     65      0      0     65
    3733     13      0      0      0  |    49961     42      0      0     42
    1840      6      0      0      0  |    53830     38      0      0     38
    3560     12      0      0      0  |    52392     42      0      0     42
    2698      9      0      0      0  |    52474     39      0      0     39
    1805      6      0      0      0  |    54072     38      0      0     38
    3031     10      0      0      0  |    51866     40      0      0     40
    5250     18      0      0      0  |    49245     46      0      0     46
    2093      7      0      0      0  |    53895     38      0      0     38
    2341      8      0      0      0  |    49680     37      0      0     37
    9250     18      0      0      0  |    37414     38      0      0     38
   21719     25      0      0      0  |    25617     34      0      0     34
   10196     37      1      5      0  |    39803     58      0      6     52
   11661     40      0      0      0  |    38942     61      0      0     61
   13015     48      1      1      0  |    35734     63      1      1     61
   11272     45      4      4      0  |    22481     55      3      5     47
      IN   PACK VJCOMP  VJUNC  VJERR  |      OUT   PACK VJCOMP  VJUNC NON-VJ
   30512     51      0      0      0  |     8284     47      0      0     47
   13129     16      1      1      0  |     2211     13      0      2     11
    5770     23      1      3      0  |     3763     22      0      3     19
       0      0      0      0      0  |       57      1      0      1      0
       0      0      0      0      0  |        0      0      0      0      0
^C

--
ふかうみ なおき
naoki@fukaumi.org