Sponsored Content
Full Discussion: El Cheapo SoyoBox
UNIX Standards and Benchmarks UNIX & LINUX Benchmarks (Version 3.11) UNIX Benchmarks El Cheapo SoyoBox Post 40203 by auswipe on Thursday 11th of September 2003 01:33:42 AM
Old 09-11-2003
El Cheapo SoyoBox

This is my El Cheapo Soyobox that runs the family web server and e-mail server. Nothing special.

CPU/Speed: 950 MHz AMD Duron
Ram: 256 meg PC100
Motherboard: K7VEM Pro
Bus: 100 MHz
Cache: Unknown
Controller: IDE ATA 100 running at ATA66
Disk: 15 gig IDE
Load: 1 user running httpd and qmail
Kernel: FreeBSD 4.8-RELEASE #0
Kernel ELF?: No

El Cheapo Soyobox.

Soyo K7VEMPro, 950 MHz Duron with 256 megs of PC100 memory.
15 gig IDE HD running in ATA66 mode.

Code:
  BYTE UNIX Benchmarks (Version 3.11)
  System -- FreeBSD FreeBSDBox.HomeNet.org 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Jun 25 2
3:54:53 CDT 2003 auswipe@FreeBSDBox.HomeNet.org:/usr/obj/usr/src/sys/FREEBSDBOX i386
  Start Benchmark Run: Wed Sep 10 23:01:51 CDT 2003
   2 interactive users.
Dhrystone 2 without register variables   2066841.3 lps   (10 secs, 6 samples)
Dhrystone 2 using register variables     2067759.4 lps   (10 secs, 6 samples)
Arithmetic Test (type = arithoh)         3842207.9 lps   (10 secs, 6 samples)
Arithmetic Test (type = register)        182046.7 lps   (10 secs, 6 samples)
Arithmetic Test (type = short)           181737.6 lps   (10 secs, 6 samples)
Arithmetic Test (type = int)             182041.3 lps   (10 secs, 6 samples)
Arithmetic Test (type = long)            182100.5 lps   (10 secs, 6 samples)
Arithmetic Test (type = float)           449120.9 lps   (10 secs, 6 samples)
Arithmetic Test (type = double)          449183.2 lps   (10 secs, 6 samples)
System Call Overhead Test                400301.2 lps   (10 secs, 6 samples)
Pipe Throughput Test                     473866.1 lps   (10 secs, 6 samples)
Pipe-based Context Switching Test         70946.4 lps   (10 secs, 6 samples)
Process Creation Test                      1803.9 lps   (10 secs, 6 samples)
Execl Throughput Test                       496.5 lps   (9 secs, 6 samples)
File Read  (10 seconds)                  934477.0 KBps  (10 secs, 6 samples)
File Write (10 seconds)                    9200.0 KBps  (10 secs, 6 samples)
File Copy  (10 seconds)                    8412.0 KBps  (10 secs, 6 samples)
File Read  (30 seconds)                  956273.0 KBps  (30 secs, 6 samples)
File Write (30 seconds)                    9066.0 KBps  (30 secs, 6 samples)
File Copy  (30 seconds)                    8338.0 KBps  (30 secs, 6 samples)
C Compiler Test                             965.3 lpm   (60 secs, 3 samples)
Shell scripts (1 concurrent)               1474.7 lpm   (60 secs, 3 samples)
Shell scripts (2 concurrent)                743.0 lpm   (60 secs, 3 samples)
Shell scripts (4 concurrent)                375.3 lpm   (60 secs, 3 samples)
Shell scripts (8 concurrent)                182.3 lpm   (60 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places          16052.3 lpm   (60 secs, 6 samples)
Recursion Test--Tower of Hanoi            29021.1 lps   (10 secs, 6 samples)


                     INDEX VALUES
TEST                                        BASELINE     RESULT      INDEX

Arithmetic Test (type = double)               2541.7   449183.2      176.7
Dhrystone 2 without register variables       22366.3  2066841.3       92.4
Execl Throughput Test                           16.5      496.5       30.1
File Copy  (30 seconds)                        179.0     8338.0       46.6
Pipe-based Context Switching Test             1318.5    70946.4       53.8
Shell scripts (8 concurrent)                     4.0      182.3       45.6
                                                                 =========
     SUM of  6 items                                                 445.2
     AVERAGE                                                          74.2

 
pci_report_pmcap(9F)					   Kernel Functions for Drivers 				      pci_report_pmcap(9F)

NAME
pci_report_pmcap - Report Power Management capability of a PCI device SYNOPSIS
#include <sys/ddi.h> #include <sys/sunddi.h> int pci_report_pmcap(dev_info_t *dip, int cap, void *arg); INTERFACE LEVEL
Solaris DDI specific (Solaris DDI) PARAMETERS
dip Pointer to the device's dev_info structure cap Power management capability arg Argument for the capability DESCRIPTION
Some PCI devices provide power management capabilities in addition to those provided by the PCI Power Management Specification. The pci_report_pmcap(9F) function reports those Power Management capabilities of the PCI device to the framework. Framework supports dynamic changing of the capability by allowing pci_report_pmcap(9F) to be called multiple times. Following are the supported capabilities as indi- cated by the cap: PCI_PM_IDLESPEED -- The PCI_PM_IDLESPEED value indicates the lowest PCI clock speed that a device can tolerate when idle, and is applica- ble only to 33 MHz PCI bus. arg represents the lowest possible idle speed in KHz (1 KHz is 1000 Hz). The integer value representing the speed should be cast to (void *) before passing as arg to pci_report_pmcap(9F). The special values of arg are: PCI_PM_IDLESPEED_ANY The device can tolerate any idle clock speed. PCI_PM_IDLESPEED_NONE The device cannot tolerate slowing down of PCI clock even when idle. If the driver doesn't make this call, PCI_PM_IDLESPEED_NONE is assumed. In this case, one offending device can keep the entire bus from being power managed. RETURN VALUES
The pci_report_pmcap(9F) function returns: DDI_SUCCESS Successful reporting of the capability DDI_FAILURE Failure to report capability because of invalid argument(s) CONTEXT
The pci_report_pmcap(9F) function can be called from user, kernel and interrupt context. EXAMPLES
1. A device driver knows that the device it controls works with any clock between DC and 33 MHz as specified in Section 4.2.3.1: Clock Specification of the PCI Bus Specification Revision 2.1. The device driver makes the following call from its attach(9E): if (pci_report_pmcap(dip, PCI_PM_IDLESPEED, PCI_PM_IDLESPEED_ANY) != DDI_SUCCESS) cmn_err(CE_WARN, "%s%d: pci_report_pmcap failed ", ddi_driver_name(dip), ddi_get_instance(dip)); 2. A device driver controls a 10/100 Mb Ethernet device which runs the device state machine on the chip from the PCI clock. For the device state machine to receive packets at 100 Mb, the PCI clock cannot drop below 4 MHz. The driver makes the following call whenever it negoti- ates a 100 Mb Ethernet connection: if (pci_report_pmcap(dip, PCI_PM_IDLESPEED, (void *)4000) != DDI_SUCCESS) cmn_err(CE_WARN, "%s%d: pci_report_pmcap failed ", ddi_driver_name(dip), ddi_get_instance(dip)); ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------------+--------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------------+--------------------------------+ |Interface Stability | Evolving | +--------------------------+--------------------------------+ SEE ALSO
Writing Device Drivers PCI Bus Power Management Interface Specification Version 1.1 PCI Bus Specification Revision 2.1 SunOS 5.10 13 August 1999 pci_report_pmcap(9F)
All times are GMT -4. The time now is 11:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy