Fast

Place to discuss anything, almost. No politics, religion, Microsoft, or anything else that I (the nazi censor) deem inappropriate.
the_black_angel
n00b
n00b
Posts: 2
Joined: Tue Feb 11, 2003 7:48 am
Location: Perth, Australia

Fast

Post by the_black_angel » Tue Feb 11, 2003 8:07 am

I would just like to congratulate you on one of the fastest loading sites i have been too. Its also set out in a way i understand :)

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Tue Feb 11, 2003 8:46 am

Why thank you!

TheQuirk
programmer
programmer
Posts: 114
Joined: Wed Jan 22, 2003 4:11 pm

Post by TheQuirk » Tue Feb 11, 2003 10:18 pm

No one can belive that this site's running off of a cable connection. :)
What are the specs of the computer you're serving this site off of again? Everything seems so fast on this site... Must be the lack of images (although phpBB loads pretty damn fast too...).

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Tue Feb 11, 2003 10:44 pm

It's an old crippled piece of junk PC that I paid $200 for brand new a few years ago. I don't even have X installed because the GUI is slower than watching grass grow (plus don't have the disk space). I have two P-100s running Red Hat 8.0 that seem faster than this box, really it's a pig. Look at the disk timings, I can write 1s and 0s faster with a pen and paper. More specifically:

Code: Select all

[voidmain@nitro voidmain]$ uptime
 10:44pm  up 490 days, 20:47,  1 user,  load average: 0.00, 0.00, 0.00

Code: Select all

[voidmain@nitro voidmain]$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 8
model name      : AMD-K6(tm) 3D processor
stepping        : 12
cpu MHz         : 475.284
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow k6_mtrr
bogomips        : 946.99

Code: Select all

[root@nitro root]# hdparm -Tt /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  8.88 seconds = 14.41 MB/sec
 Timing buffered disk reads:  64 MB in 12.49 seconds =  5.12 MB/sec

Code: Select all

[root@nitro root]# fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 627 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       351   2819376   83  Linux
/dev/hda2           352       627   2216970   83  Linux

Code: Select all

[root@nitro root]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1              2775064   1959268    674828  75% /
/dev/hda2              2182104    388856   1682400  19% /home
none                     61648         0     61648   0% /dev/shm

Code: Select all

[root@nitro root]# free
             total       used       free     shared    buffers     cached
Mem:        123300     117460       5840          0       4528      20724
-/+ buffers/cache:      92208      31092
Swap:       262136     110840     151296

Code: Select all

[root@nitro root]# lspci -v | more
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 530 Host (rev 03)
        Flags: bus master, medium devsel, latency 32
        Memory at e8000000 (32-bit, non-prefetchable) [size=64M]
        Capabilities: [c0] AGP version 2.0

00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 80 [Master])
        Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE Controller (A,B step)
        Flags: bus master, fast devsel, latency 128
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at ffa0 [size=16]

00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev b3)
        Flags: bus master, medium devsel, latency 0

00:01.1 Class ff00: Silicon Integrated Systems [SiS] ACPI
        Flags: medium devsel


00:01.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 11) (prog-if
10 [OHCI])
        Flags: bus master, medium devsel, latency 32, IRQ 5
        Memory at efffe000 (32-bit, non-prefetchable) [size=4K]

00:02.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: e7e00000-e7efffff
        Prefetchable memory behind bridge: fec00000-ffcfffff

00:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
        Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
        Flags: bus master, medium devsel, latency 32, IRQ 3
        I/O ports at d800 [size=128]
        Memory at efffff00 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at effc0000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 1

00:0b.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10 MBit (rev 10)
        Subsystem: Unknown device 0291:8212
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at da00 [size=128]
        Memory at efffff80 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at eff80000 [disabled] [size=256K]
        Capabilities: [50] Power Management version 1

00:0c.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
        Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at dc00 [size=256]
        Capabilities: [c0] Power Management version 2

00:0c.1 Communication controller: C-Media Electronics Inc CM8738 (rev 10)
        Subsystem: C-Media Electronics Inc CM8738
        Flags: medium devsel, IRQ 10
        I/O ports at de00 [size=64]
        Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 6306 3D-AGP
(rev a3) (prog-if 00 [VGA])
        Subsystem: Silicon Integrated Systems [SiS] SiS530,620 GUI Accelerator+3D
        Flags: bus master, 66Mhz, medium devsel, latency 32
        Memory at ff000000 (32-bit, prefetchable) [size=8M]
        Memory at e7ef0000 (32-bit, non-prefetchable) [size=64K]
        I/O ports at bc00 [size=128]
        Capabilities: [40] Power Management version 1
        Capabilities: [50] AGP version 1.0

TheQuirk
programmer
programmer
Posts: 114
Joined: Wed Jan 22, 2003 4:11 pm

Post by TheQuirk » Tue Feb 11, 2003 10:58 pm

You have more bogomips than me (what IS a bogomip? is it how many calculations I can do per cycle?). And I think I have 192mb, which is just about how much you have... My HD is much faster, though--that's why it works extremly well (especially with KDE3.1!). I'm not saying it can beat a top of the line P4, but it works for me.

Code: Select all

[root@localhost squid]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 6
model name      : Celeron (Mendocino)
stepping        : 5
cpu MHz         : 432.027
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips        : 861.79
[/code]

User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

Post by Calum » Wed Feb 12, 2003 3:12 am

so this site is on the famous 490 day machine?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Wed Feb 12, 2003 3:18 am

Calum wrote:so this site is on the famous 490 day machine?
No, this is on the adjusted 490 day machine. The real 490 day machine is only back up to 244 days.
Last edited by Void Main on Wed Feb 12, 2003 3:22 am, edited 1 time in total.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Wed Feb 12, 2003 3:20 am

TheQuirk wrote:You have more bogomips than me (what IS a bogomip? is it how many calculations I can do per cycle?). And I think I have 192mb, which is just about how much you have... My HD is much faster, though--that's why it works extremly well (especially with KDE3.1!). I'm not saying it can beat a top of the line P4, but it works for me.
Yes, I would much rather have the disk speed over the few extra bogomips. And I only have 120MB of usable RAM (128MB total - 8MB for shared video).
"Jargon File (4.3.0, 30 APR 2001)"
BogoMIPS /bo'go-mips/ n. The number of million times a second a
processor can do absolutely nothing. The Linux OS measures BogoMIPS at
startup in order to calibrate some soft timing loops that will be used
later on; details at the BogoMIPS mini-HOWTO
(http://www.clifton.nl/~clifton). The name Linus chose, of course, is an
ironic comment on the uselessness of all _other_ MIPS figures.



"The Free On-line Dictionary of Computing (09 FEB 02)"
BogoMips

<unit> (From "bogus", "MIPS") The timing unit of the Linux
kernel.

A BogoMips is an unscientific measurement of processor speed
made by the Linux kernel when it boots, to calibrate an
internal busy-loop.

BogoMips MiniHowto
(http://metalab.unc.edu/LDP/HOWTO/mini/BogoMips.html).

(1999-05-06)

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 » Thu Feb 13, 2003 12:52 am

I learned what a bogomip is a long long time ago.

My system has:

Code: Select all

[root@exeleven root]# hdparm -Tt /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  1.73 seconds = 74.05 MB/sec
 Timing buffered disk reads:  64 MB in 18.42 seconds =  3.48 MB/sec

Code: Select all

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Celeron (Coppermine)
stepping        : 6
cpu MHz         : 851.945
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 1695.64

Code: Select all

[root@exeleven root]# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  260485120 237326336 23158784        0 18976768 98918400
Swap: 510894080 77492224 433401856
MemTotal:       254380 kB
MemFree:         22616 kB
MemShared:           0 kB
Buffers:         18532 kB
Cached:          68312 kB
SwapCached:      28288 kB
Active:         134488 kB
Inact_dirty:     54132 kB
Inact_clean:      6984 kB
Inact_target:    39120 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       254380 kB
LowFree:         22616 kB
SwapTotal:      498920 kB
SwapFree:       423244 kB
Committed_AS:   340832 kB

Code: Select all

[root@exeleven proc]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda5              5781864   2389488   3098672  44% /
none                    127188         0    127188   0% /dev/shm
/dev/hda6              1950176     20096   1930080   2% /johnz
//tazor/PROGRAMS      13641728  13165312    476416  97% /tazor
//tazor/C              2024128   1703488    320640  85% /tazoc
/dev/cdrom              674942    674942         0 100% /mnt/cdrom
And thats mine.

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 » Thu Feb 13, 2003 12:53 am

Code: Select all

[root@exeleven root]# uptime
  5:51pm  up 14 days, 10:52,  2 users,  load average: 1.36, 1.56, 1.41
ph34r my uptime!

http://uptimes.wonko.com/account.php?op ... s&hid=2844
Last edited by X11 on Thu Feb 13, 2003 1:56 am, edited 1 time in total.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Thu Feb 13, 2003 1:04 am

Man, what sort of disk drive do you have in that thing?!? It is even slower than the one I have in the Void server. My other machine is a little faster:

Code: Select all

[root@kidslinux root]# /sbin/hdparm -Tt /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.61 seconds =209.84 MB/sec
 Timing buffered disk reads:  64 MB in  2.03 seconds = 31.53 MB/sec

Code: Select all

[root@kidslinux root]# free
             total       used       free     shared    buffers     cached
Mem:        515668     323200     192468          0      31544     149312
-/+ buffers/cache:     142344     373324
Swap:       401544      42576     358968

Code: Select all

[root@kidslinux root]# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 6
model name      : AMD Athlon(tm) XP 1600+
stepping        : 2
cpu MHz         : 1399.883
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 2791.83

Code: Select all

[root@kidslinux root]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdb2             12933432   9920048   2356328  81% /
/dev/hda3                23333     18261      3868  83% /boot
/dev/hda1              8153076   5826784   2326292  72% /home
/dev/hda5             26678896  20976800   5702096  79% /workspace
none                    257832         0    257832   0% /dev/shm
/dev/hda7              3866116    702520   2967204  20% /backup
/iso/rh8d1              659488    659488         0 100% /loop/rh8d1
/iso/rh8d2              650656    650656         0 100% /loop/rh8d2
/iso/rh8d3              661728    661728         0 100% /loop/rh8d3

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 » Thu Feb 13, 2003 2:01 am

the first test was fine, here it is again, the second one is slow however. ???



[root@exeleven root]# /sbin/hdparm -Tt /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 1.30 seconds = 98.40 MB/sec
Timing buffered disk reads: 64 MB in 17.78 seconds = 3.60 MB/sec

Dont know why its so slow, oh well, it works fine.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Thu Feb 13, 2003 2:06 am

What does "hdparm -I /dev/hda" and "hdparm /dev/hda" show? Have you tried difference settings and retest?

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 » Thu Feb 13, 2003 3:42 am

Code: Select all

[root@exeleven root]# hdparm /dev/hda

/dev/hda:
 multcount    =  0 (off)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 2654/240/63, sectors = 40132503, start = 0

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Thu Feb 13, 2003 3:57 am

How about the "hdparm -I /dev/hda"?

Can you enable some of those things that will quadruple your speed or is the drive not capable of it? The "-I" command should tell the tale.

Post Reply