Quote:takk, fant det og ut nå :) mekekr du en slik stattestikk på denne greia her og eraser ? ble så greit å følge med på produksjonen da. MEN, hvordan får jeg utnytta 4 cpuèr på dette da ?
1. You should run sb120.exe FIRST (to install sb.exe, sign up for an account, etc.) and configure the logging, connection, priority, etc. options however you wish. 2. Do NOT check the "Auto-start on Windows Boot" box. 3. Exit the Seventeen or Bust client 4. Unpack the contents of this zip file into the "Program Files\sb" directory (or wherever you installed the SB client initially) 5. Did I mention that this ONLY works on NT/2K/XP (not on 9x/Me)? 6. In the "Program Files\sb" directory, run "sobsvc -i" to install the service. 7. Use the Services control panel to start the newly-installed service, which is called "Seventeen or Bust service" (or re-boot if you prefer) That's it! On boot, the service will start (and minimize) as many clients as your machine has CPUs and each client will be configured to run on a single CPU in order to maximize the benefit of the cache. On shutdown (or when you stop the service), each client will be shut down cleanly so as to not lose any work (don't be alarmed if you see confirmation message boxes popping up during this process - they will be handled and dismissed automatically). Furthermore, each client will be allowed to interact with the desktop (that is, they will all be allowed to appear in the system tray - note, though, that they usually will *not* appear there unless the service is restarted after a user logs on). This configuration will work well for most SMP setups. Other configurations are possible, though, and the remainder of this file details them. --------------------------------------------------------------------------------------- To uninstall the service, run "sobsvc -u" --------------------------------------------------------------------------------------- To run the service WITHOUT allowing the clients to interact with the desktop (that is, they will *never* appear in the system tray), use your Services control panel and uncheck the "Allow service to interact with desktop" box on the "Log On" tab of the property page for the "Seventeen or Bust service" (at least on XP - this may vary slightly on NT/2K). --------------------------------------------------------------------------------------- To change the number of clients which are run: 1. run "sobsvc -p:<num>" where <num> is the number of clients you wish to run 2. Restart the service --------------------------------------------------------------------------------------- To change the number of clients which are run AND change the affinity pattern: 1. run "sobsvc -p:<num>:<aff>" where <num> is the number of clients you wish to run and <aff> is the affinity type: 0 - each client runs on a single CPU [default] 1 - all clients are allowed to run on all CPUs 2 - half of the clients are pegged to a single CPU and the other half are allowed to run on any of the remaining CPUs (or on all CPUs if there aren't any "remaining" CPUs) 2. Restart the service --------------------------------------------------------------------------------------- To specify the number of clients and CPU affinity to anything you would like: 1. run "sobsvc -p:<num>:3:<aff1>,<aff2>,...<affn>" where <num> is the number of clients you wish to run and <aff1>...<affn> are the numerical CPU affinities to be used for each client. If you don't know what this means, then you probably shouldn't use this configuration. 2. Restart the service --------------------------------------------------------------------------------------- To optimize the number of clients and CPU affinity for your current configuration: 1. run "sobsvc -o" 2. Restart the service If your system does NOT support hyper-threading, this will be equivalent to "sobsvc -p:<num>:0" where <num> is the number of physical CPUs present. Hyperthreading (present if enabled in the BIOS on Intel P4 Xeon and P4 3.02+GHz), however, provides additional "logical" CPUs which share most of the resources of the physical CPUs. The optimal pattern for them *appears* to be assigning one client to Logical Processor 1 on each Physical Processor. However, another, more aggressive use of hyper-threading seems to sometimes provide even better results: in addition to the above, assigning an additional number clients (half as many as the number of Physical Processors), allowing these to "float" over all the Logical Processor 0's. Running "sobsvc -o2" will perform this optimization. Although only Windows XP has native detection of hyperthreading, the optimization process can detect hyperthreading and correctly configure for it under any of the multi-processor-capable Windows operating systems (NT/2K/XP). Dette funker på 2003 også [:)]