


Code: Select all
Enable this to automatically enable SCHED_ISO for X



Interbench is a fine benchmark to use, also kernbench as long as you look at what it's intended to measure (con has an interbench result on his ck.kolivas/patches/bfs page)DigitalCorpus wrote:So I see that some people were using an Interbench to test how effective BFS really was. Reading through the BFS FAQ, Con suggested to not use that benchmark. What should we be using instead?
Aside from CFS, there are other features in Zen worht testing but I don't know how. One example is the SLAB allocators. I already know to avoid SLOB, but how to SLAB, SLUB, SLQB stack and how so you test it? I encoded HD TV on almost a daily basis and with 8GB of RAM, I tend to use /dev/shm as a scratch ram disk.
Also, what is CPU_BFS_AUTOISO. It's descriptiondoesn't help me much except for the fact that it pertains to X environments.Code: Select all
Enable this to automatically enable SCHED_ISO for X
Edit: Also, what would be the suggestion of using BFS on a Q6700 server/desktop config? I currently have dynamic ticks enabled and my Hz at 108 (even though that is suggested for an octcore setup) and no preemption. I'm looking for a middle ground between bandwidth and latency if possible.

Code: Select all
latt -c8 "make -j2" kernel build
----
Kernel: 2.6.31-zen2-bfs-3337ea3
Parameters: min_wait=100ms, max_wait=500ms, clients=8
Entries logged: 5712
Wakeup averages
-------------------------------------
Max 38796 usec
Avg 11284 usec
Stdev 9259 usec
Stdev mean 123 usec
Work averages
-------------------------------------
Max 143410 usec
Avg 101290 usec
Stdev 17148 usec
Stdev mean 227 usec
Kernel: 2.6.31-zen2-cfs-3337ea3
Parameters: min_wait=100ms, max_wait=500ms, clients=8
Entries logged: 5880
Wakeup averages
-------------------------------------
Max 34962 usec
Avg 4532 usec
Stdev 3801 usec
Stdev mean 50 usec
Work averages
-------------------------------------
Max 202057 usec
Avg 119865 usec
Stdev 16360 usec
Stdev mean 213 usec
Kernel: 2.6.31-bfs240
Parameters: min_wait=100ms, max_wait=500ms, clients=8
Entries logged: 5448
Wakeup averages
-------------------------------------
Max 40659 usec
Avg 11512 usec
Stdev 9372 usec
Stdev mean 127 usec
Work averages
-------------------------------------
Max 152649 usec
Avg 100517 usec
Stdev 17549 usec
Stdev mean 238 usec
Kernel: 2.6.31.1
Parameters: min_wait=100ms, max_wait=500ms, clients=8
Entries logged: 6744
Wakeup averages
-------------------------------------
Max 54973 usec
Avg 13978 usec
Stdev 10848 usec
Stdev mean 132 usec
Work averages
-------------------------------------
Max 155076 usec
Avg 87660 usec
Stdev 19173 usec
Stdev mean 233 usec
I have a quad core. I thought it stood to reason that the selected frequency x # of cores/procs would be the real measure of ticks on a system. I'm not looking to run at the very lowest latencies on my system. I'm not looking to run at maximum bandwidth either. Since I can select a range from 100 to 1000 Hz in the Zen config with it seems that the author(s) share this same paradigm (of which you are one, correct?).cheater1034 wrote:If you're running a server/desktop i would disable dynticks. If you're running X on the server/desktop, set HZ=1000
voluntary preemption is junk, don't use it (you can't use it with bfs since it's disabled in Kconfig when bfs is selected. Full preemption is probably your best bet, no preemption is acceptable too - but if you are running X i'd suggest it.
Odd, what's even more odd if I take out the SD card and put it into my 64,000 type card reader nothing happens, normally Mr KDE would pop up it's usual message.Sep 30 16:37:56 binklebonk [29941.103638] hub 2-5.1:1.0: state 7 ports 4 chg 0000 evt 0002
Sep 30 16:37:56 binklebonk [29941.103869] hub 2-5.1:1.0: port 1, status 0101, change 0001, 12 Mb/s
Sep 30 16:37:56 binklebonk [29941.214750] hub 2-5.1:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
Sep 30 16:37:56 binklebonk [29941.281890] usb 2-5.1.1: new high speed USB device using ehci_hcd and address 7
Sep 30 16:37:56 binklebonk [29941.366626] usb 2-5.1.1: default language 0x0409
Sep 30 16:37:56 binklebonk [29941.367757] usb 2-5.1.1: udev 7, busnum 2, minor = 134
Sep 30 16:37:56 binklebonk [29941.367762] usb 2-5.1.1: New USB device found, idVendor=04a9, idProduct=318f
Sep 30 16:37:56 binklebonk [29941.367766] usb 2-5.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 30 16:37:56 binklebonk [29941.367770] usb 2-5.1.1: Product: Canon Digital Camera
Sep 30 16:37:56 binklebonk [29941.367773] usb 2-5.1.1: Manufacturer: Canon Inc.
Sep 30 16:37:56 binklebonk [29941.367776] usb 2-5.1.1: SerialNumber: 80A82B2885EC4FD6B179EA7B72EB90B1
Sep 30 16:37:56 binklebonk [29941.367868] usb 2-5.1.1: uevent
Sep 30 16:37:56 binklebonk [29941.367890] usb 2-5.1.1: usb_probe_device
Sep 30 16:37:56 binklebonk [29941.367894] usb 2-5.1.1: configuration #1 chosen from 1 choice
Sep 30 16:37:56 binklebonk [29941.370191] usb 2-5.1.1: adding 2-5.1.1:1.0 (config #1, interface 0)
Sep 30 16:37:56 binklebonk [29941.370221] usb 2-5.1.1:1.0: uevent
Sep 30 16:37:56 binklebonk [29941.370283] drivers/usb/core/inode.c: creating file '007'
Sep 30 16:38:23 binklebonk [29968.902751] usb usb5: usb auto-resume
Sep 30 16:38:23 binklebonk [29968.902756] usb usb5: wakeup_rh
Sep 30 16:38:23 binklebonk [29968.939146] hub 5-0:1.0: hub_resume
Sep 30 16:38:23 binklebonk [29968.939170] hub 5-0:1.0: state 7 ports 2 chg 0000 evt 0000
Sep 30 16:38:23 binklebonk [29968.939522] usb usb7: usb auto-resume
Sep 30 16:38:23 binklebonk [29968.939526] usb usb7: wakeup_rh
Sep 30 16:38:23 binklebonk [29968.976192] hub 7-0:1.0: hub_resume
Sep 30 16:38:23 binklebonk [29968.976216] hub 7-0:1.0: state 7 ports 2 chg 0000 evt 0000
Sep 30 16:38:23 binklebonk [29968.976296] usb usb6: usb auto-resume
Sep 30 16:38:23 binklebonk [29968.976300] usb usb6: wakeup_rh
Something strange with usb in kernel or should I look more at my system?Sep 30 18:28:11 binklebonk usb-storage: device scan complete
Sep 30 18:28:11 binklebonk scsi 8:0:0:0: Direct-Access Generic USB CF Reader 0.00 PQ: 0 ANSI: 2
Sep 30 18:28:11 binklebonk scsi 8:0:0:1: Direct-Access Generic USB SD Reader 0.00 PQ: 0 ANSI: 2
Sep 30 18:28:11 binklebonk scsi 8:0:0:2: Direct-Access Generic USB MS Reader 0.00 PQ: 0 ANSI: 2
Sep 30 18:28:11 binklebonk scsi 8:0:0:3: Direct-Access Generic USB SM Reader 0.00 PQ: 0 ANSI: 2
Sep 30 18:28:11 binklebonk sd 8:0:0:0: Attached scsi generic sg3 type 0
Sep 30 18:28:11 binklebonk sd 8:0:0:1: Attached scsi generic sg4 type 0
Sep 30 18:28:11 binklebonk sd 8:0:0:2: Attached scsi generic sg5 type 0
Sep 30 18:28:11 binklebonk sd 8:0:0:3: Attached scsi generic sg6 type 0
Sep 30 18:28:11 binklebonk sd 8:0:0:1: [sdd] Attached SCSI removable disk
Sep 30 18:28:11 binklebonk sd 8:0:0:2: [sde] Attached SCSI removable disk
Sep 30 18:28:11 binklebonk sd 8:0:0:3: [sdf] Attached SCSI removable disk
Sep 30 18:28:11 binklebonk sd 8:0:0:0: [sdc] Attached SCSI removable disk

Code: Select all
Sep 29 15:06:18 Atlas sshd[2566]: Accepted publickey for digital from 192.168.128.1 port 62573 ssh2
Sep 29 15:06:18 Atlas sshd[2566]: pam_unix(sshd:session): session opened for user digital by (uid=0)
Sep 29 15:06:18 Atlas kernel: [ 33.388802] ------------[ cut here ]------------
Sep 29 15:06:18 Atlas kernel: [ 33.388849] Kernel BUG at ffffffff8112aca2 [verbose debug info unavailable]
Sep 29 15:06:18 Atlas kernel: [ 33.388899] invalid opcode: 0000 [#1] SMP
Sep 29 15:06:18 Atlas kernel: [ 33.388974] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.5/host3/target3:0:0/3:0:0:0/blo
ck/sdd/queue/nr_requests
Sep 29 15:06:18 Atlas kernel: [ 33.389030] CPU 1
Sep 29 15:06:18 Atlas kernel: [ 33.389084] Modules linked in: coretemp it87 hwmon_vid hwmon firmware_class nvidia(P) usbhid fi
rewire_ohci i2c_i801 ehci_hcd uhci_hcd i2c_core firewire_core usbcore sata_sil24 rtc_cmos rtc_core rtc_lib crc_itu_t [last unloa
ded: microcode]
Sep 29 15:06:18 Atlas kernel: [ 33.389549] Pid: 2571, comm: bash Tainted: P 2.6.30-zen1 #7 965P-DS3
Sep 29 15:06:18 Atlas kernel: [ 33.389599] RIP: 0010:[<ffffffff8112aca2>] [<ffffffff8112aca2>] 0xffffffff8112aca2
Sep 29 15:06:18 Atlas kernel: [ 33.389675] RSP: 0018:ffff880218423938 EFLAGS: 00010246
Sep 29 15:06:18 Atlas kernel: [ 33.389721] RAX: 00000000000021b5 RBX: ffffea00076297d0 RCX: 0000000000000002
Sep 29 15:06:18 Atlas kernel: [ 33.389771] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88021f9d6000
Sep 29 15:06:18 Atlas kernel: [ 33.389806] RBP: ffff880218423978 R08: ffff8802184237f8 R09: ffff88021b5eacd0
Sep 29 15:06:18 Atlas kernel: [ 33.389853] R10: 002e626173685f68 R11: 0000000000000001 R12: ffff880218423a38
Sep 29 15:06:18 Atlas kernel: [ 33.389903] R13: ffff880219b3bb80 R14: 0000000000001000 R15: 0000000000000002
Sep 29 15:06:18 Atlas kernel: [ 33.389953] FS: 00007f19357996f0(0000) GS:ffff88002804e000(0000) knlGS:0000000000000000
Sep 29 15:06:18 Atlas kernel: [ 33.390012] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 29 15:06:18 Atlas kernel: [ 33.390059] CR2: 0000000002088d38 CR3: 0000000218ce0000 CR4: 00000000000006e0
Sep 29 15:06:18 Atlas kernel: [ 33.390100] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Sep 29 15:06:18 Atlas kernel: [ 33.390150] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Sep 29 15:06:18 Atlas kernel: [ 33.390200] Process bash (pid: 2571, threadinfo ffff880218422000, task ffff880219c09260)
Sep 29 15:06:18 Atlas kernel: [ 33.390256] Stack:
Sep 29 15:06:18 Atlas kernel: [ 33.390294] ffffea00076297d0 0000000000000000 ffffea00076297d0 ffffea00076297d0
Sep 29 15:06:18 Atlas kernel: [ 33.390391] ffff880218423a38 0000000000000000 ffff880219b3bb80 0000000000000000
Sep 29 15:06:18 Atlas kernel: [ 33.390538] ffff8802184239b8 ffffffff8112af68 ffff880218423ba8 ffffea00076297d0
Sep 29 15:06:18 Atlas kernel: [ 33.390718] Call Trace:
Sep 29 15:06:18 Atlas kernel: [ 33.390757] [<ffffffff8112af68>] 0xffffffff8112af68
Sep 29 15:06:18 Atlas kernel: [ 33.390818] [<ffffffff8112ae70>] ? 0xffffffff8112ae70
Sep 29 15:06:18 Atlas kernel: [ 33.390880] [<ffffffff8107ab61>] 0xffffffff8107ab61
Sep 29 15:06:18 Atlas kernel: [ 33.390941] [<ffffffff8112a78e>] 0xffffffff8112a78e
Sep 29 15:06:18 Atlas kernel: [ 33.390997] [<ffffffff8111b3bc>] 0xffffffff8111b3bc
Sep 29 15:06:18 Atlas kernel: [ 33.391058] [<ffffffff8110bbc1>] 0xffffffff8110bbc1
Sep 29 15:06:18 Atlas kernel: [ 33.391119] [<ffffffff8107a5e2>] 0xffffffff8107a5e2
Sep 29 15:06:18 Atlas kernel: [ 33.391180] [<ffffffff8107a93d>] 0xffffffff8107a93d
Sep 29 15:06:18 Atlas kernel: [ 33.391243] [<ffffffff8107aa5d>] 0xffffffff8107aa5d
Sep 29 15:06:18 Atlas kernel: [ 33.391298] [<ffffffff81074191>] 0xffffffff81074191
Sep 29 15:06:18 Atlas kernel: [ 33.391359] [<ffffffff810993b2>] 0xffffffff810993b2
Sep 29 15:06:18 Atlas kernel: [ 33.391416] [<ffffffff81050d50>] ? 0xffffffff81050d50
Sep 29 15:06:18 Atlas kernel: [ 33.391477] [<ffffffff81077ed5>] ? 0xffffffff81077ed5
Sep 29 15:06:18 Atlas kernel: [ 33.391538] [<ffffffff810f9406>] ? 0xffffffff810f9406
Sep 29 15:06:18 Atlas kernel: [ 33.391595] [<ffffffff8111afbc>] 0xffffffff8111afbc
Sep 29 15:06:18 Atlas kernel: [ 33.391656] [<ffffffff811190a0>] 0xffffffff811190a0
Sep 29 15:06:18 Atlas kernel: [ 33.391717] [<ffffffff8109a0b5>] 0xffffffff8109a0b5
Sep 29 15:06:18 Atlas kernel: [ 33.391779] [<ffffffff810269d3>] ? 0xffffffff810269d3
Sep 29 15:06:18 Atlas kernel: [ 33.391835] [<ffffffff8109a27c>] 0xffffffff8109a27c
Sep 29 15:06:18 Atlas kernel: [ 33.391897] [<ffffffff8100b2ab>] 0xffffffff8100b2ab
Sep 29 15:06:18 Atlas kernel: [ 33.391954] Code: 8b 8d 10 01 00 00 48 39 4b 18 74 2c 49 8b bc 24 80 00 00 00 e8 90 a0 fe ff 4c 89 e7 e8 38 f6 fe ff ba 01 00 08 00 e9 93 fd ff ff <0f> 0b eb fe ab 83 ea 04 e9 25 fe ff ff f6 03 08 0f 84 f4 00 00
Sep 29 15:06:18 Atlas kernel: [ 33.393123] RIP [<ffffffff8112aca2>] 0xffffffff8112aca2
Sep 29 15:06:18 Atlas kernel: [ 33.393184] RSP <ffff880218423938>
Sep 29 15:06:18 Atlas kernel: [ 33.393238] ---[ end trace 1d986197de6acef9 ]---
Sep 29 15:06:18 Atlas sshd[2566]: pam_unix(sshd:session): session closed for user digital

