[perf-discuss] correct Makefile.com so that tattle works with constant strings.

2012-06-07 Thread Bart . Smaalders
Author: Bart Smaalders Repository: /hg/libmicro/libmicro Branch: default Latest revision: aab5db3f83568c3f6fdce50caafa9269e746aef5 Total changesets: 1 Log message: correct Makefile.com so that tattle works with constant strings. Files: update: Makefile.com update: tattle.c

Re: [perf-discuss] [on-discuss] Syscall for posix_spawn?

2010-07-13 Thread Bart Smaalders
tter shell script performance. There are other, more generically useful performance improvements being made in the VM system that will help this; given our limited resources we'd rather focus on projects that have good paybacks in multiple areas. - Bart -- Bart Smaalders

Re: [perf-discuss] [on-discuss] Syscall for posix_spawn?

2010-07-13 Thread Bart Smaalders
and improve the situation. What does DTrace tell you about where the time is being spent? Instead of asserting where the problem is in email, how about doing some investigation? - Bart -- Bart Smaalders Solaris Kernel Performance bart.smaald...@oracle.com http

Re: [perf-discuss] [on-discuss] Syscall for posix_spawn?

2010-07-13 Thread Bart Smaalders
ocess. - Bart -- Bart Smaalders Solaris Kernel Performance bart.smaald...@oracle.com http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird." ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] [indiana-discuss] Memory leak somewhere, maybe in libc (libc_hwcap2.so.1 / SXCE b105 x64) ?

2009-02-11 Thread Bart Smaalders
oc_debug+0x144 libumem.so.1`umem_cache_alloc+0x19a libumem.so.1`umem_alloc+0xcd libumem.so.1`malloc+0x2a libc_hwcap2.so.1`strdup+0x26 checking_strdup+0xf retrieve_tree+0x343 main+0x5ed _start+0x7d ... - Bart --

Re: [perf-discuss] Thread scheduler: exponentially slow in extreme conditions

2008-04-16 Thread Bart Smaalders
LBs? With text, stack and heap mappings for all threads, this result isn't terribly surprising. Solaris cannot use the global bits for user mappings since the locations of libraries, etc, aren't fixed. The kernel mapping are global if the CPU supports that. - Bart -- Bart Smaalders

Re: [perf-discuss] Thread scheduling behavior

2008-03-28 Thread Bart Smaalders
Krishna Yenduri wrote: > Bart Smaalders wrote: >> ... >> Keep in mind the differences between lwps and kernel threads, esp. on >> NUMA (MPO) platforms. Note that lgrp_choose isn't called for kernel >> threads >> > > That explains it t

Re: [perf-discuss] Thread scheduling behavior

2008-03-27 Thread Bart Smaalders
erences between lwps and kernel threads, esp. on NUMA (MPO) platforms. Note that lgrp_choose isn't called for kernel threads What are you trying to do? Trying to use all the cpus in the system at minclsyspri is likely to make interactive use awkward, to say the least. - Bar

Re: [perf-discuss] about lpl's

2008-03-14 Thread Bart Smaalders
ain load averages for each lgroup or fraction thereof that was present in each processor set. The code is a little fussy, but we haven't come up w/ a better way of doing this yet. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL

Re: [perf-discuss] can anybody explain the

2008-03-12 Thread Bart Smaalders
t; Cheers, > - jonathan > > -- > Jonathan Adams, Sun Microsystems, ZFS Teamhttp://blogs.sun.com/jwadams > > ___ > perf-discuss mailing list > perf-discuss@opensola

Re: [perf-discuss] can anybody explain the difference between select() and port_getn()

2008-03-10 Thread Bart Smaalders
- Bill > This is correct. Note that the coefficients differ, however; if each fd is ready all the time, select is more efficient since port_get() requires a call to port_associate() for every fd. Most large scale apps w/ thousands of fds open only has data availabl

Re: [perf-discuss] core contributer nomination for Sherry Moore

2008-02-27 Thread Bart Smaalders
the debugger > - Worked on the port of Solaris to amd64 > - Worked extensively on Solaris Dynamic Reconfiguration (DR) support > > Thanks, > -Eric > > > > > _______ > perf-discuss mailing list > perf-discuss@opensolaris.

Re: [perf-discuss] [ksh93-integration-discuss] Bourne vs. ksh93 startup time... / was: Re: [pkg-discuss] 142 Replace /sbin/sh with ksh93

2008-01-29 Thread Bart Smaalders
ed the time by a factor of ~1.5; it's still slower by a good bit. > 3. Which locale did you use (e.g. what is the output of $ env | egrep > "LC_|LANG" #) ? C locale > 4. Could you please list the command sequence to measure the startup > time of both Bourne shell and

Re: [perf-discuss] Project proposal: "Solaris Enhancements for AMD-based Platforms"

2007-11-02 Thread Bart Smaalders
onents) > > I think this project would be of interest to a number of OpenSolaris > communities but I am asking the performance community for sponsorship as > it appears to be the most relevant. > +1 =- Bart -- Bart Smaalders S

Re: [perf-discuss] about copyout

2007-08-23 Thread Bart Smaalders
only when it is enabled. So I think at most time > copyout(getpeername) will call do_copy_fault, is right? After multiple > tests, I start doubting on my presumption however I don't find any other > clues. Would you like to tell me the right answer? > What makes you think your

Re: [perf-discuss] Poor swap performance

2007-08-21 Thread Bart Smaalders
project. Note that the plan is to use a DMU object per address space or one per segment of an address space. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discus

Re: [perf-discuss] Need Performance Expertise for Google Summer of Code Project

2007-07-24 Thread Bart Smaalders
pecially within the math and HPC sciences arenas. > > Many thanks, > > Rob Giltrap > OpenSolaris - Google Summer of Code Mentor. Hi Rob - Have you taken a pass at this w/ DProfile (in the latest sun studio)? You should look for cache/tlb hots spots; this may show false sharing, excessive conflicts, etc. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] [observability-discuss] Project proposal: CPUfs

2007-07-11 Thread Bart Smaalders
_ > perf-discuss mailing list > perf-discuss@opensolaris.org They certainly could be - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] Followup on microoptimizing ip_addr_match()

2007-06-18 Thread Bart Smaalders
@@ 319443 256 |@@ 60991 512 |@5972 So I'm not sure what to do. Any clues are, as always, welcome! Thanks, Dan ___ perf-discuss mailing list perf-d

Re: [perf-discuss] Project sponsorship request: Tesla

2007-06-05 Thread Bart Smaalders
s to deliver maximum system performance while consuming no more power than is necessary to do so. Thanks, -Eric ___ perf-discuss mailing list perf-discuss@opensolaris.org I think we should def. sponsor this.... - Bart -- Bart Smaalders

Re: [perf-discuss] The likely future of x86 and Sparc processors, and whether Solaris is ready.

2007-04-26 Thread Bart Smaalders
urpose workloads, and it's not clear that such machines are interesting commercially. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] measuring interrupt latency in OpenSolaris from a simulator

2007-04-25 Thread Bart Smaalders
- Bart Thank you, Thomas ___ perf-discuss mailing list perf-discuss@opensolaris.org -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTE

Re: [perf-discuss] Project endorsement request: Enhance Solaris for Intel Project

2007-03-22 Thread Bart Smaalders
efforts! Thanks, -Eric ___ perf-discuss mailing list perf-discuss@opensolaris.org An excellent idea. You are now endorsed :-). - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] h

Re: [perf-discuss] Re: ufs performance

2007-03-22 Thread Bart Smaalders
g language features. As a result, the libstlport library conforms much more closely to the standard than libCstd does. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___

Re: [perf-discuss] DMA mapping incredibly slow

2007-01-17 Thread Bart Smaalders
le provider a lot more as it gives a less distorted view of relative time spent. How prevalent is hat_getpfnum in your kernel profile? - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___

Re: [perf-discuss] File event API

2006-11-17 Thread Bart Smaalders
esses the files. As a mental model, I prefer to think of file events as one-shots; passing in the stat data collected by the monitoring app before processing a file insures that 1) no modifications are lost and 2) as many modifications as possible are combined into a single event. - Bar

Re: [perf-discuss] lock contention in ioctl() and scalability issues

2006-11-08 Thread Bart Smaalders
prakash sangappa wrote: The 'uf_lock' is a per 'fd' lock. Therefore, the application could possibly dup(2) the fd, to get one for each thread. That should help avoid the uf_lock contention. -Prakash. Krishna Yenduri wrote: Bart Smaalders wrote: Krishna Yenduri wrote:

Re: [perf-discuss] lock contention in ioctl() and scalability issues

2006-11-06 Thread Bart Smaalders
mailing list perf-discuss@opensolaris.org If all the threads share the same FD, you're going to have problems if the actual IOCTL is very fast. Can you open the device multiple times? - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED]

Re: [perf-discuss] how to interpret the prstat output?

2006-10-05 Thread Bart Smaalders
into multiple pieces after reaching it's full size - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] TLB lifespan across context switches

2006-06-29 Thread Bart Smaalders
e to separate threads bound to different CPUs (either cores or sockets). 3) use of large pages More details about the data structures, machine architecture and CPU count would allow more targeted suggestions.... - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED]

Re: [perf-discuss] Need Some Advice Diagnosing Perfromance Problem

2006-05-30 Thread Bart Smaalders
ou're spending a lot of time in ata_wait, this is the problem. =- Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] PowerNow! and monitoring tools

2006-05-24 Thread Bart Smaalders
Matty wrote: On Wed, 24 May 2006, Bart Smaalders wrote: Our initial plans for PowerNow support will maintain some % of idle cpu. If your app is very latency sensitive but spends most of it's time sleeping, you'll want to use a different policy. Any idea when this will be added

Re: [perf-discuss] PowerNow! and monitoring tools

2006-05-24 Thread Bart Smaalders
pu has far less effect than if my app is running out of the L1 caches. Our initial plans for PowerNow support will maintain some % of idle cpu. If your app is very latency sensitive but spends most of it's time sleeping, you'll want to use a different policy. - Bart -- Bart Smaalders

Re: [perf-discuss] multiview and gawk

2006-05-09 Thread Bart Smaalders
_ perf-discuss mailing list perf-discuss@opensolaris.org That works fine w/ nawk; I've made that change in the source base. Thanks! - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blog

Re: [perf-discuss] File events notification mechansim

2006-05-04 Thread Bart Smaalders
ty issues; can an application use this to watch the creation of files in someone else's 0700 directory? - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] Performance Test questions

2006-04-24 Thread Bart Smaalders
Seth Goldberg wrote: Hi, With Justin's testing, I have a fix for this, so if anyone else is experiencing this problem, please let me know so I can have you test the fix as well. Thanks, --S Excellent. Thanks for going after that! - Bart -- Bart Smaalders So

Re: [perf-discuss] Performance Test questions

2006-04-20 Thread Bart Smaalders
Thanks, --S Since this is the second time this has happened, perhaps a blog entry or something would be useful to let folks know how to solve it on their own if this is possible. Why doesn't windows/linux have problems w/ this? - Bart -- Bart Smaalders Solaris

Re: [perf-discuss] Performance Test questions

2006-04-20 Thread Bart Smaalders
Justin Conover wrote: http://www.opensolaris.org/jive/thread.jspa?messageID=11873โนก <http://www.opensolaris.org/jive/thread.jspa?messageID=11873โนก> This could be a winner That's it! Ok, now to figure out how to fix this. I've cc'd Seth, perhaps he can chime in. - Ba

Re: [perf-discuss] Performance Test questions

2006-04-20 Thread Bart Smaalders
M quite so aggressively. What does intrstat report in terms of interrupts? We've seen some issues with some bioses confusing edge triggered vs level triggered interrupts. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.s

Re: [perf-discuss] Means to reduce core-dumping impact on performance critical system?

2006-04-19 Thread Bart Smaalders
te of 32 * 8K. You may wish to patch core_chunk in /etc/system (or w/ mdb -kw for real time experiments) to see if reducing the size of writes will help. http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/os/core.c#core_chunk DTrace is your friend here as well...

Re: [perf-discuss] T2000, Solaris / Express (and SPARCbuntu ?)

2006-04-19 Thread Bart Smaalders
ached. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] Means to reduce core-dumping impact on performance critical system?

2006-04-18 Thread Bart Smaalders
ore files onto disks or NFS servers that will cope w/ a flood of IO is a good idea. This would also help diagnose the actual cause of the problem. In general, we strongly encourage ISVs not to disable core dumping as it makes finding that once every 6 month crash very difficult indeed. - Bar

Re: [perf-discuss] Memory Placement Optimization for SPARC (lgroup creation)

2006-04-04 Thread Bart Smaalders
s for plat_lgrp_init in the source browser. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] Re: Arificial enlargement of binaries to enable VMPSS aks auto mpss

2006-03-16 Thread Bart Smaalders
rf-discuss mailing list perf-discuss@opensolaris.org What kind of hardware are you running on? -= Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing

Re: [perf-discuss] TLS vs get/setspecific

2006-02-15 Thread Bart Smaalders
t key; int foo() { return (((struct bar *)pthread_getspecific(key))->foobar); } you're going to want to consider passing the thread_specific data explicitly for peak performance. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] htt

Re: [perf-discuss] Re: GTK2+-2.8.x on Sparc hardware

2006-02-09 Thread Bart Smaalders
a PCI framebuffer , you can prob. get xorg up and running on SPARC and get the XRender extension. The old SPARC graphics group is no more, essentially. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/

Re: [perf-discuss] Siemens sparc V vs. Sun Ultra sparc IV+

2006-02-07 Thread Bart Smaalders
ormance will be more important. If not, aggregate throughput will be more interesting... And don't forget: "The longer a industry standard benchmark has existed, the less likely that it has useful or meaningful similarity to real-world applications" - Bart -- Bart Smaalders

Re: [perf-discuss] Re: Re: Re: Re: Performance: Solaris vs BSD

2006-01-24 Thread Bart Smaalders
this very well in his "Advanced Programming in the Unix Environment" on page 178 Thanks... I need to patch this; we've hit this before. I wish gcc would grok either #pragma unknown_control_flow(setjmp) or extern void longjmp(jmp_buf, int) __NORETURN; - Bart -- Bart Smaal

Re: [perf-discuss] Re: Re: Re: Performance: Solaris vs BSD

2006-01-23 Thread Bart Smaalders
rking, maybe I could copy some of your ideas. This message posted from opensolaris.org ___ perf-discuss mailing list perf-discuss@opensolaris.org libmicro ports very easily; it's a good place to start - Bart -- Bart Smaalders

Re: [perf-discuss] Re: Re: Performance: Solaris vs BSD

2006-01-23 Thread Bart Smaalders
kind of hardware are you running on? - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] is there a performance difference between /dev/poll and event ports ?

2005-11-17 Thread Bart Smaalders
meone at Sun who has the event port zen to provide patches to libevent This message posted from opensolaris.org This is a good idea. One of us will take a look at what is needed. -= Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED]

Re: [perf-discuss] Re: TSC, Power Management Events on AMD processors, and [Open]Solaris

2005-11-08 Thread Bart Smaalders
down one-shot timer that generates high level interrupts to match. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] Counting memory usage

2005-11-04 Thread Bart Smaalders
352% Total 522126 2039 Physical 522124 2039 - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-dis

Re: [perf-discuss] NUMA ptools and ISM segments

2005-09-16 Thread Bart Smaalders
are below 4G. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] Re: Re: libMicro page added

2005-08-25 Thread Bart Smaalders
, but those didn't show up until Solaris 10. I'll add a mechanism to make ELIDED_BENCHMARKS in Makefile. release specific so that we can avoid this sort of problem. In the meantime, add atomic to ELIDED_BENCHMARKS in Makefile.SunOS to compile on Solaris 9. - Bart --

Re: [perf-discuss] Re: libMicro page added

2005-08-24 Thread Bart Smaalders
ris are you compiling? - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts ___ perf-discuss mailing list perf-discuss@opensolaris.org

[perf-discuss] libMicro page added

2005-08-05 Thread Bart Smaalders
cro page in the perf community w/ a tarball. Do remember, of course, that current OpenSolaris bits are debug, so performance measurements are problematic except with respect to comparisons against another build of OpenSolaris. Have fun - - Bart -- Bart Smaalders Solaris Ker