Re: Obtaining l2 misses and cpu utilization in a module

2009-02-18 Thread Joseph Koshy
> I would like to obtain fore mentioned data from within my module. I need > these performance metrics to see how certain code executes, and make > decisions during the runtime. pmc(3) seems complete, but it also seems to be > intended for use in the userland. > > How to use pmc from modules? Is th

OT: svn commit: r188764 - head/sys/kern

2009-02-18 Thread pluknet
Hi. Am I right that td_estcpu is only updated under SCHED_4BSD ? (well, user's ki_estcpu is not used in top anyway. ps shows all zeroes under SCHED_ULE (as it should then though). I'm just interested.) -- wbr, pluknet ___ freebsd-hackers@freebsd.org ma

Re: Obtaining l2 misses and cpu utilization in a module

2009-02-18 Thread David Wolfskill
On Wed, Feb 18, 2009 at 08:18:20PM +0100, Nikola Kne??evi?? wrote: > Hi, > > I would like to obtain fore mentioned data from within my module. I > need these performance metrics to see how certain code executes, and > make decisions during the runtime. pmc(3) seems complete, but it also > se

Module Dependencies

2009-02-18 Thread Sean Bruno
I'm messing around with dev/firewire/sbp_targ at home this week and wanted to know if there was a way to warn or notify when trying to run config against a kernel configuration file that has "device sbp_targ" but doesn't have "device targbh". Is there such a mechanism? Sean _

Re: Simulating bad network conditions

2009-02-18 Thread Mel
On Wednesday 18 February 2009 01:39:03 Bruce Cran wrote: > It seems ALTQ can't delay packets though, so you'd need to use dummynet > for that. You can work around it using hfsc's realtime: hfsc(realtime (0Kb 300 128Kb)) 1. 0Kbit of bandwidth guaranteed for the first 300ms 2. After 300ms 12

HotPar '09: Attendance Now Open to Everyone

2009-02-18 Thread Lionel Garth Jones
The First USENIX Workshop on Hot Topics in Parallelism will take place March 30-31 in Berkeley, CA. http://www.usenix.org/hotpar09/proga HotPar '09 will bring together researchers and practitioners doing innovative work in the area of parallel computing. HotPar recognizes the broad impact of mult

Obtaining l2 misses and cpu utilization in a module

2009-02-18 Thread Nikola Knežević
Hi, I would like to obtain fore mentioned data from within my module. I need these performance metrics to see how certain code executes, and make decisions during the runtime. pmc(3) seems complete, but it also seems to be intended for use in the userland. How to use pmc from modules? Is

Re: Simulating bad network conditions

2009-02-18 Thread Julian Elischer
Bruce Cran wrote: On Wed, 18 Feb 2009 08:57:15 + xorquew...@googlemail.com wrote: On 2009-02-18 11:42:00, Maxim Konovalov wrote: ipfw(8) prob + dummynet(8). Hi. Thanks for the quick response. Is there, by any chance, an equivalent for PF? I see there's 'ALTQ' but it looks to be poorly s

Re: Simulating bad network conditions

2009-02-18 Thread Bruce Cran
On Wed, 18 Feb 2009 08:57:15 + xorquew...@googlemail.com wrote: > On 2009-02-18 11:42:00, Maxim Konovalov wrote: > > > > ipfw(8) prob + dummynet(8). > > > > Hi. Thanks for the quick response. > > Is there, by any chance, an equivalent for PF? I see there's 'ALTQ' > but it looks to be poorl

Re: Simulating bad network conditions

2009-02-18 Thread Tim Clewlow
Here is a link to a mailing list post about a patch to give dummynet support in pf. It is _fairly_ recent and so may still be a little buggy, but the poster seems quite confident that it works as intended. http://www.mail-archive.com/freebsd...@freebsd.org/msg03857.html Cheers, Tim. > On 2009-0

Re: Tyan S2895 7.1 amd64 >8Gb RAM support? - resolved

2009-02-18 Thread Karl Pielorz
Hi, I finally resolved this... (posted to the list for completeness / incase someone else hits this issue). Brief Solution: Reduce dram timing in the bios from DDR400 to DDR333. Gory details: Having taken quite a trip through mptables, bioses, pulling / pushing DIMM's etc. - all the DIMM's

Re: Simulating bad network conditions

2009-02-18 Thread xorquewasp
On 2009-02-18 11:42:00, Maxim Konovalov wrote: > > ipfw(8) prob + dummynet(8). > Hi. Thanks for the quick response. Is there, by any chance, an equivalent for PF? I see there's 'ALTQ' but it looks to be poorly supported (unless I misunderstand). I have quite a complicated setup here with PF for

Re: Simulating bad network conditions

2009-02-18 Thread Maxim Konovalov
On Wed, 18 Feb 2009, 08:34-, xorquew...@googlemail.com wrote: > Hello. > > I want to verify that a program I'm developing works correctly > in poor network conditions (high latency, random packet loss, etc). > > I seem to remember reading something once about somebody simulating > these condit

Simulating bad network conditions

2009-02-18 Thread xorquewasp
Hello. I want to verify that a program I'm developing works correctly in poor network conditions (high latency, random packet loss, etc). I seem to remember reading something once about somebody simulating these conditions with PF but can't remember where. Anybody got any ideas about how I could

Re: TUNABLE_INT question

2009-02-18 Thread Roman Divacky
On Tue, Feb 17, 2009 at 05:51:13PM -0500, John Baldwin wrote: > On Tuesday 17 February 2009 5:21:42 pm Roman Divacky wrote: > > On Tue, Feb 17, 2009 at 09:31:12AM -0500, John Baldwin wrote: > > > On Friday 13 February 2009 5:16:07 pm Roman Divacky wrote: > > > > On Fri, Feb 13, 2009 at 03:55:44PM -