| home | layout | structure | qd | hexdump |
          File : queue.dat
 Queue Version : 5.01
          Size : 7168 bytes
    F@H Client : FAH502-Linux.exe

Index X - CPU Type

CPU: 1,0 x86; OS: 4,0 Linux
The CPU and OS types are detected by the client and sent to the servers when requesting assignments. They can influence what sort of work will be assigned, and which core URL is given to the client. Each of these types is reported as a pair of numbers, the first of which is a basic type defined by Cosm, and the second of which is a subtype determined by the client. The most detail is available for Windows systems running on Intel CPUs. The numbers are sometimes stored in little-endian order in queue.dat, and sometimes in big-endian order, with no clearly consistent pattern. If qd recognizes the pair of numbers, it prints a string which interprets them.

The full set of numbers are: CPU Type, CPU Species, OS Type and OS Species.

The CPU types defined by Cosm are:

CPU_UNKNOWN :  0 | CPU_POWER  : 10
CPU_X86     :  1 | CPU_IA64   : 11
CPU_POWERPC :  2 | CPU_ARM    : 12
CPU_MIPS    :  3 | CPU_CELL   : 13
CPU_MIPS64  :  4 | CPU_S390   : 14
CPU_ALPHA   :  5 | CPU_SH4    : 15
CPU_PA_RISC :  6 | CPU_AMD64  : 16
CPU_68K     :  7 |
CPU_SPARC   :  8 |
CPU_SPARC64 :  9 |
See: Cosm API - Defines and Types


grep "480 CPU" qd.c
                u32     cpu_type;       /* 480 CPU type (LE or BE, sometimes 0) */

./qd -q queue.dat | grep CPU
  CPU: 1,0 x86; OS: 4,0 Linux   # Index 3
  CPU: 1,0 x86; OS: 4,0 Linux   # Index 4
  CPU: 1,0 x86; OS: 4,0 Linux   # Index 5
  CPU: 1,0 x86; OS: 4,0 Linux   # Index 6
  CPU: 1,0 x86; OS: 4,0 Linux   # Index 7
  CPU: 1,0 x86; OS: 4,0 Linux   # Index 8
  CPU: 1,0 x86; OS: 4,0 Linux   # Index 9
  CPU: 1,0 x86; OS: 4,0 Linux   # Index 0
  CPU: 1,0 x86; OS: 4,0 Linux   # Index 1
  CPU: 1,0 x86; OS: 4,0 Linux   # Index 2

hexdump -C -s 488 -n 4 queue.dat     # Index 0
000001e8  01 00 00 00                                       |....|
000001ec

hexdump -C -s 1200 -n 4 queue.dat    # Index 1
000004b0  01 00 00 00                                       |....|
000004b4

hexdump -C -s 1912 -n 4 queue.dat    # Index 2
00000778  01 00 00 00                                       |....|
0000077c

hexdump -C -s 2624 -n 4 queue.dat    # Index 3
00000a40  01 00 00 00                                       |....|
00000a44

hexdump -C -s 3336 -n 4 queue.dat    # Index 4
00000d08  01 00 00 00                                       |....|
00000d0c

hexdump -C -s 4048 -n 4 queue.dat    # Index 5
00000fd0  01 00 00 00                                       |....|
00000fd4

hexdump -C -s 4760 -n 4 queue.dat    # Index 6
00001298  01 00 00 00                                       |....|
0000129c

hexdump -C -s 5472 -n 4 queue.dat    # Index 7
00001560  01 00 00 00                                       |....|
00001564

hexdump -C -s 6184 -n 4 queue.dat    # Index 8
00001828  01 00 00 00                                       |....|
0000182c

hexdump -C -s 6896 -n 4 queue.dat    # Index 9
00001af0  01 00 00 00                                       |....|
00001af4