[perf-discuss] Does |sun_prefetch_read_many()| have any effect on x86 ?

2009-09-30 Thread Roland Mainz
Hi! Does |sun_prefetch_read_many()| have any effect on x86 machines ? If "yes" - are there any CPU/vendor/compiler requirements for this ? Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ T

[perf-discuss] Async data prefetch in gcc (similar to |sun_prefetch_read_many()|) ?

2009-09-30 Thread Roland Mainz
Hi! Does gcc in Solaris have a similar builtin function as Sun Studio/Forte/Workshop's |sun_prefetch_read_many()| which works on both x86 and SPARC ? Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O

Re: [perf-discuss] [ksh93-integration-discuss] [Bug 640] /usr/bin/sumand/usr/bin/cksum need a performance boost

2009-09-30 Thread Roland Mainz
Glenn Fowler wrote: > > I think the point is that if the common usage is to > sum many different files, or one file at a time over > long spans of time then the performance of getting > the bytes from the filesystem to user space may > outweigh any cache optimization gains > > the ast apps are al

[perf-discuss] Startup cost of the extra .so's ... / was: Re: [ksh93-integration-discuss] [Bug 640] /usr/bin/sumand/usr/bin/cksum need a performance boost

2009-09-30 Thread Roland Mainz
Glenn Fowler wrote: [I split the email thread into multiple topics] > I think the point is that if the common usage is to > sum many different files, or one file at a time over > long spans of time then the performance of getting > the bytes from the filesystem to user space may > outweigh any cach

Re: [perf-discuss] Poor Solaris 10 performance

2009-09-10 Thread Roland Mainz
Phil Harman wrote: > Roland Mainz wrote: > > Peter Tribble wrote: > >> On Thu, Sep 10, 2009 at 8:38 AM, Raymond Wong wrote: > >> > > [snip] > > > >> while read a > >> do > >>line=$(($line+1)) > >> done > > &

Re: [perf-discuss] Poor Solaris 10 performance

2009-09-10 Thread Roland Mainz
Peter Tribble wrote: > On Thu, Sep 10, 2009 at 8:38 AM, Raymond Wong wrote: [snip] > while read a > do >line=$(($line+1)) > done This will run even faster if you remove the '$', put the assignment inside the arithmetric expression and declare "line" as integer variable, e.g. ... -- snip --

Re: [perf-discuss] [tools-linking] Reducing overhead caused by loading more libraries?

2009-08-08 Thread Roland Mainz
Rod Evans wrote: > Roland Mainz wrote: > > Assuming I have application "foo" which originally only depended on > > libc.so.1 and now I have a new version of "foo" which requires us to > > load two more shared libraries (called libxxx1.so.1 and libyyy2.s

[perf-discuss] Preliminary benchmark results for ksh93-integration update2 ...

2009-07-30 Thread Roland Mainz
Hi! Attached (as "cmd_benchmark_20090730_001.txt") are some preliminary benchmark results and the script used to create it ("cmdbenchmark.sh.txt", the script still needs some cleanup and extensions (e.g. cleanup, adding command-line options to modify the test file size, number of loop itera

Re: [perf-discuss] Changing the default buffer sizes for pipes ?

2009-07-13 Thread Roland Mainz
Garrett D'Amore wrote: > Bob Friesenhahn wrote: > > On Fri, 10 Jul 2009, Roland Mainz wrote: [snip] > I agree that we should *not* have the pipe(2) system call change the > system default... that would be potentially destructive to many > applications, as you note. BTW: M

Re: [perf-discuss] [shell-discuss] Changing the default buffer sizes for pipes ?

2009-07-13 Thread Roland Mainz
"I. Szczesniak" wrote: > On 7/10/09, Bob Friesenhahn wrote: [snip] > > More importantly, why is it that ksh93 has a performance problem with pipes > > when other shells do not? Is it actually demonstrated to have a performance > > problem or is it conjecture? > > Roland? See http://mail.opensol

Re: [perf-discuss] [shell-discuss] Changing the default buffersizes for pipes ?

2009-07-13 Thread Roland Mainz
Bob Friesenhahn wrote: [snip] > More importantly, why is it that ksh93 has a performance problem with > pipes when other shells do not? Is it actually demonstrated to have a > performance problem or is it conjecture? This isn't a specific ksh93 problem (that's why I started the disucssion in shel

Re: [perf-discuss] Changing the default buffer sizes for pipes ?

2009-07-13 Thread Roland Mainz
rickey c weisner wrote: > On Fri, Jul 10, 2009 at 10:48:29AM -0500, Bob Friesenhahn wrote: > > On Fri, 10 Jul 2009, Roland Mainz wrote: > >>> > >>> Some applications may misbehave or lock-up if the size of the pipe > >>> buffer is changed. > >&

Re: [perf-discuss] [shell-discuss] Changing the default buffersizes for pipes ?

2009-07-13 Thread Roland Mainz
"I. Szczesniak" wrote: > On 7/10/09, Garrett D'Amore wrote: > > Bob Friesenhahn wrote: > > > On Fri, 10 Jul 2009, Roland Mainz wrote: > > > > > Some applications may misbehave or lock-up if the size of the pipe > > > > > buffer is cha

Re: [perf-discuss] Changing the default buffer sizes for pipes ?

2009-07-13 Thread Roland Mainz
Garrett D'Amore wrote: > Bob Friesenhahn wrote: > > On Fri, 10 Jul 2009, Roland Mainz wrote: > >>> > >>> Some applications may misbehave or lock-up if the size of the pipe > >>> buffer is changed. > >> > >> Erm... why ? >

Re: [perf-discuss] Changing the default buffer sizes for pipes ?

2009-07-13 Thread Roland Mainz
Bob Friesenhahn wrote: > On Fri, 10 Jul 2009, Roland Mainz wrote: > >> Some applications may misbehave or lock-up if the size of the pipe > >> buffer is changed. > > > > Erm... why ? > > You have already noticed that the size is hard-coded in Solaris > ap

Re: [perf-discuss] Changing the default buffer sizes for pipes ?

2009-07-13 Thread Roland Mainz
Garrett D'Amore wrote: > Roland Mainz wrote: > > Bob Friesenhahn wrote: > >> On Fri, 10 Jul 2009, Roland Mainz wrote: > >>> Does anyone know where the default buffer size for pipes (e.g. $ ulimit > >>> -p #) is defined and how it can be changed

Re: [perf-discuss] Changing the default buffer sizes for pipes ?

2009-07-09 Thread Roland Mainz
Bob Friesenhahn wrote: > On Fri, 10 Jul 2009, Roland Mainz wrote: > > Does anyone know where the default buffer size for pipes (e.g. $ ulimit > > -p #) is defined and how it can be changed (or turned into a system > > tuneable) ? The current default of 5120 bytes is AFAIK n

[perf-discuss] Changing the default buffer sizes for pipes ?

2009-07-09 Thread Roland Mainz
Hi! [REPOST - the first email had the address for wrong (sorry)] [CC:'ing Garrett D'Amore since he did some initial digging on this subject earlier today] Does anyone know where the default buffer size for pipes (e.g. $ ulimit -p #) is defined and how it can be changed (or turned into a

[perf-discuss] Changing the default buffer sizes for pipes ?

2009-07-09 Thread Roland Mainz
Hi! [CC:'ing Garrett D'Amore since he did some initial digging on this subject earlier today] Does anyone know where the default buffer size for pipes (e.g. $ ulimit -p #) is defined and how it can be changed (or turned into a system tuneable) ? The current default of 5120 bytes is AFAIK n

Re: [perf-discuss] [ksh93-integration-discuss] ksh93 benchmarking

2009-07-09 Thread Roland Mainz
Bob Friesenhahn wrote: > On Fri, 10 Jul 2009, Roland Mainz wrote: > > - "tail" _may_ now be a bit slower since it no longer uses |mmap()| > > (which was one of the root causes for crashes (e.g. if the underlying > > file shrinks while "tail" reads it))

Re: [perf-discuss] [ksh93-integration-discuss] ksh93 benchmarking

2009-07-09 Thread Roland Mainz
Milan Jurik wrote: > V Ä?t, 09. 07. 2009 v 15:21, Sean McGrath píše: > > With the coming ksh93 update 2 and it replacing several commands > > like wc, tail, head, join etc. Theres a need to have a benchmark > > to measure at least before and after ksh93 update 2 change. > > > > Roland and

[perf-discuss] Reducing overhead caused by loading more libraries ?

2009-07-08 Thread Roland Mainz
Hi! Assuming I have application "foo" which originally only depended on libc.so.1 and now I have a new version of "foo" which requires us to load two more shared libraries (called libxxx1.so.1 and libyyy2.so.9) ... is there a way to reduce the additional startup time needed to load these li

Re: [perf-discuss] poor application performance - very high cross-calls

2009-06-29 Thread Roland Mainz
Matthew Flanagan wrote: > I'm trying to track down the source of a performance problem with an > application. The application in question is from a firewall vendor and the > component of it that is suffering is the log handling daemon. The log daemon > is single threaded and receives logs from f

Re: [perf-discuss] -lumem slower than -lmalloc and -lmtmalloc?

2009-05-12 Thread Roland Mainz
johan...@sun.com wrote: > On Tue, May 12, 2009 at 01:33:15AM +0200, Roland Mainz wrote: > > Can you check whether the memory allocator in libast performs better in > > this case (e.g. compile with $ cc -I/usr/include/ast/ -last ... # (note: > > libast uses a |_ast_|-prefix for

Re: [perf-discuss] -lumem slower than -lmalloc and -lmtmalloc?

2009-05-12 Thread Roland Mainz
Bob Friesenhahn wrote: > On Tue, 12 May 2009, Roland Mainz wrote: > > Can you check whether the memory allocator in libast performs better in > > this case (e.g. compile with $ cc -I/usr/include/ast/ -last ... # (note: > > libast uses a |_ast_|-prefix for all symbols and

Re: [perf-discuss] -lumem slower than -lmalloc and -lmtmalloc?

2009-05-11 Thread Roland Mainz
Roland Mainz wrote: > johan...@sun.com wrote: > > On Mon, May 11, 2009 at 11:10:37AM -0500, Bob Friesenhahn wrote: [snip] > > There have been some past discussions on this list about identifying > > problems with memory allocations, and applications that allocate memory > &

Re: [perf-discuss] -lumem slower than -lmalloc and -lmtmalloc?

2009-05-11 Thread Roland Mainz
johan...@sun.com wrote: > On Mon, May 11, 2009 at 11:10:37AM -0500, Bob Friesenhahn wrote: > > It seems that the performance issue stems from libumem using memory > > mapped allocations rather than sbrk allocations. I have not seen a > > performance impact from using libumem in any other part of t

Re: [perf-discuss] Benchmarking NFS using tmpfs Shares

2008-12-03 Thread Roland Mainz
Ben Rockwood wrote: > > I was doing some NFS benchmarking over the weekend with undesirable > results. I thought that I'd use a share from tmpfs in order to contrast > my results. I expected line speed NFS performance... but the results > were horrible, far slower than any disk-based NFS benchma

Re: [perf-discuss] [tools-compilers] Application runs almost2xslower on Nevada than Linux

2008-06-24 Thread Roland Mainz
Shawn Walker wrote: > 2008/6/24 Roland Mainz <[EMAIL PROTECTED]>: > > Technically there was an discussion on the last OpenSolaris.org summit > > to check whether it may sense to replace libc's malloc implementation > > with the libast one since it's faster, wo

Re: [perf-discuss] [tools-compilers] Application runs almost2xslower on Nevada than Linux

2008-06-24 Thread Roland Mainz
[EMAIL PROTECTED] wrote: > > > Could you try an experiment and compile you sources with > > /usr/lib/libast.so.1 (you need to compile the sources with > > -I/usr/include/ast before /usr/include/ since libast uses a different > > symbol namespace and cannot be used to "intercept" other > > |malloc(

Re: [perf-discuss] [tools-compilers] Application runs almost 2xslower on Nevada than Linux

2008-06-24 Thread Roland Mainz
Matty wrote: > On Wed, Apr 30, 2008 at 6:26 PM, David Lutz <[EMAIL PROTECTED]> wrote: > > If your application is single threaded, you could try using the > > bsdmalloc library. This is a fast malloc, but it is not multi-thread > > safe and will also tend to use more memory than the default > >

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

2008-01-29 Thread Roland Mainz
Bart Smaalders wrote: > William James wrote: [snip] > > Remember what Bruno Jargot wrote about performance and POSIX: > > |ksh93 is superior in functionality, performance and usability > > |compared to bash. > > | > > |A few numbers: > > |$ time bash -c 'i=0 ; s="" ; while [ $i -lt 1 ] ; do i=$

Re: [perf-discuss] cpu migration questions and postgresql

2008-01-18 Thread Roland Mainz
Kugutsumen wrote: > On this quad core box with 8 gig of ram and a 4 gig zfs ARC, I keep seeing > tons of cross calls and cpu migration. > > cross calls go up to 4000 during read only operations and up to 3 during > read and write operations. > > The only thing running is postgresql and a si

Re: [perf-discuss] NUMA and interconnect transfers

2008-01-18 Thread Roland Mainz
Rafael Vanoni wrote: > Roland Mainz wrote: > > Rafael Vanoni wrote: > >> Roland Mainz wrote: > >>> Jonathan Chew wrote: > >>>> Rafael Vanoni wrote: > > [snip] > >>> BTW: How does the topology code handle DR ? > >> Take a lo

Re: [perf-discuss] NUMA and interconnect transfers

2008-01-14 Thread Roland Mainz
Rafael Vanoni wrote: > Roland Mainz wrote: > > Jonathan Chew wrote: > >> Rafael Vanoni wrote: [snip] > > BTW: How does the topology code handle DR ? > > Take a look at > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/os/lgrp.c#522.

Re: [perf-discuss] large pages on amd64?

2008-01-14 Thread Roland Mainz
Steve Sistare wrote: > > This is a known issue on Solaris/x86. The issue is that over time, > non-relocatable kernel memory is allocated at physical addresses > throughout memory, fragmenting the PA space, and preventing the > allocation of a physically contiguous large page. [snip] AFAIK a lar

Re: [perf-discuss] NUMA and interconnect transfers

2008-01-14 Thread Roland Mainz
Jonathan Chew wrote: > Rafael Vanoni wrote: > > Hey everyone > > > > Is the kernel aware of the status of the interconnect between different > > NUMA nodes ? > > No, not currently. It just assumes that there is some interconnect > between the nodes and may know the latency between them when the s

Re: [perf-discuss] Project proposal:"Solaris EnhancementsforAMD-based Platforms"

2007-11-02 Thread Roland Mainz
"Ostrovsky, Boris" wrote: > > On Nov 1, 2007 5:33 PM, Roland Mainz <[EMAIL PROTECTED]> wrote: > > > I was referring to something I read recently in a german computer > > > magazine tha the upcoming AMD CPUs have some kind of special 128 FP > > >

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

2007-11-01 Thread Roland Mainz
Boris Ostrovsky wrote: > Roland Mainz wrote: > > ... it may be nice to see the new AMD64 128bit floating-point stuff > > supported in Solaris... may be a usefull for HPC customers... :-) > > There is no need to change anything in software to take advantage of > wider

Re: [perf-discuss] [ksh93-integration-discuss] License stuff... / was: Re: [osol-code]extremly bad performance of Solaris regex

2007-10-31 Thread Roland Mainz
Roland Mainz wrote: > Jens Elkner wrote: > [Please keep [EMAIL PROTECTED] in the CC: field > for AST/ksh93-related topics since not all people there are subscribed > to all other opensolaris-org lists, too] > > On Wed, Oct 31, 2007 at 01:25:36AM -0400, Peter Memishian wrote:

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

2007-10-31 Thread Roland Mainz
"Ostrovsky, Boris" wrote: > I would like to propose creation of a new project titled "Solaris > Enhancements for AMD-based Platforms". > > The project will address various features that are specific to platforms > based on AMD processors, such as > - IOMMU support > - NUMA topology

Re: [perf-discuss] [osol-code] extremly bad performance of Solarisregex

2007-10-31 Thread Roland Mainz
Fintan Ryan wrote: [Please keep [EMAIL PROTECTED] in the CC: field for AST-related topics since not all people there are subscribed to all other opensolaris-org lists, too] > >>> Linux i6860.704u 0.004s 0:00.70 100.0%5587 ms > >>> 2079.593 > >> 1. Which locale do you use ? >

Re: [perf-discuss] [osol-code] [ksh93-integration-discuss] extremly badperformance of Solaris regex

2007-10-31 Thread Roland Mainz
Jens Elkner wrote: [Please keep [EMAIL PROTECTED] in the CC: field for AST-related topics since not all people there are subscribed to all other opensolaris-org lists, too] > On Wed, Oct 31, 2007 at 01:04:55PM -0400, Glenn Fowler wrote: > > > Jens Elkner wrote: > > > > regex.c

[perf-discuss] License stuff... / was: Re: [osol-code] extremly bad performance of Solaris regex

2007-10-31 Thread Roland Mainz
Jens Elkner wrote: [Please keep [EMAIL PROTECTED] in the CC: field for AST/ksh93-related topics since not all people there are subscribed to all other opensolaris-org lists, too] > On Wed, Oct 31, 2007 at 01:25:36AM -0400, Peter Memishian wrote: > > > /usr/lib/libast.so.1 before you can link with

Re: [perf-discuss] [osol-code] extremly bad performance of Solaris regex

2007-10-31 Thread Roland Mainz
Hi! [Please keep [EMAIL PROTECTED] in the CC: field for AST-related topics since not all people there are subscribed to all other opensolaris-org lists, too] Jens Elkner wrote: > On Wed, Oct 31, 2007 at 06:20:02AM +0100, Roland Mainz wrote: > > Jens Elkner wrote: > >

Re: [perf-discuss] [osol-code] extremly bad performance of Solaris regex

2007-10-30 Thread Roland Mainz
Peter Memishian wrote: > > > 1. Which locale do you use ? > > 2. Starting with Solaris 11/B72 there is libast.so.1 which comes with an > > own set of pattern matching functions. It may be nice to check how these > > functions perform compared to the "normal" Solaris functions in libc. > > Not

Re: [perf-discuss] [osol-code] extremly bad performance of Solaris regex

2007-10-30 Thread Roland Mainz
Jens Elkner wrote: [CC:'ing [EMAIL PROTECTED] since libast belongs to this project] > > regex.c RegexTest.javaMHz > Solaris sparc13.12u 0.01s 0:13.17 99.6%5569 ms 1503 > Solaris x86 6.28u 0.00s 0:06.29 99.8%2571 ms

Re: [perf-discuss] [ksh93-integration-discuss] Mapping C data structures to ksh93 nested variables..

2007-08-24 Thread Roland Mainz
Shawn Walker wrote: > On 19/07/07, Stephen Hahn <[EMAIL PROTECTED]> wrote: > > * Roland Mainz <[EMAIL PROTECTED]> [2007-07-19 17:01]: > > > Alexander Kolbasov wrote: > > > > > "Richard L. Hamilton" wrote: [snip] > > There's probab

Re: [perf-discuss] Mapping C data structures to ksh93 nested variables..

2007-07-21 Thread Roland Mainz
Stephen Hahn wrote: > * Roland Mainz <[EMAIL PROTECTED]> [2007-07-19 17:01]: > > Alexander Kolbasov wrote: > > > > "Richard L. Hamilton" wrote: [snip] > > > Perl has a mechanism (called XSUB) to write glue code between C and Perl. > > > It

Re: [perf-discuss] [observability-discuss] "procsh" vs. proctools...

2007-07-21 Thread Roland Mainz
Stefan Parvu wrote: > > Wow, I thought you were about to encourage something like: > > - use of the SE Toolkit > > - making libproc a stable interface > > - adding a Sun::Solaris::Proc to Perl > > +1 > Sun::Solaris::Proc might be a nice thing to have in Perl. I agree... but I ho

Re: [perf-discuss] [observability-discuss] "procsh" vs. proctools...

2007-07-21 Thread Roland Mainz
Brendan Gregg - Sun Microsystems wrote: > On Fri, Jul 20, 2007 at 11:49:07PM +0200, Roland Mainz wrote: [snip] > > Now I am wondering whether it may be usefull to put all the tools in > > /usr/proc/bin/ and /usr/bin/ps in a seperate "procsh" (= "process shell" &g

[perf-discuss] "procsh" vs. proctools...

2007-07-20 Thread Roland Mainz
Hi! This is an old idea based on the observation that many process monitoring tools or scripts are more or less |fork()|-bombs, for example sdtprocess calls /usr/bin/ps for each cycle and other tools use many of the tools in /usr/proc/bin/ to collect information, process them through variou

[perf-discuss] kstat bindings for ksh93 / was: Re: [observability-discuss] Project proposal: CPUfs

2007-07-20 Thread Roland Mainz
"Richard L. Hamilton" wrote: [snip] > > This email and any files transmitted with it are > > confidential and intended solely for the use of the > > individual or entity to whom they are addressed. If > > you have received this email in error please notify > > the system manager. This message conta

Re: [perf-discuss] Mapping C data structures to ksh93 nested variables..

2007-07-19 Thread Roland Mainz
Alexander Kolbasov wrote: > > "Richard L. Hamilton" wrote: > > > > > > [...] > > > > Hence, I totally agree with... > > [snip] > > > >From my point of view, function-call-like APIs that deal with binary > > > data, preferably available in both C and perl (the latter for those for > > > whom everyth

[perf-discuss] Mapping C data structures to ksh93 nested variables... / was: Re: [observability-discuss] Project proposal: CPUfs

2007-07-19 Thread Roland Mainz
"Richard L. Hamilton" wrote: > > [...] > > Hence, I totally agree with... [snip] > >From my point of view, function-call-like APIs that deal with binary > data, preferably available in both C and perl (the latter for those for > whom everything has to be some sort of script), are preferable to > n

Re: [perf-discuss] RFE: "bt" (=batch) scheduler class...

2007-06-01 Thread Roland Mainz
Richard McDougall wrote: > On Wed, May 30, 2007 at 11:57:52PM +0200, Roland Mainz wrote: > > Is there anyone interested to help with a small project to add a new > > scheduler class for batch jobs, e.g. a "bt" (=batch) scheduler class ? > > The idea would be to cre

Re: [perf-discuss] RFE: "bt" (=batch) scheduler class...

2007-06-01 Thread Roland Mainz
[EMAIL PROTECTED] wrote: > On Wed, May 30, 2007 at 11:57:52PM +0200, Roland Mainz wrote: > > Is there anyone interested to help with a small project to add a new > > scheduler class for batch jobs, e.g. a "bt" (=batch) scheduler class ? > > The idea would be to cre

[perf-discuss] RFE: "bt" (=batch) scheduler class...

2007-05-30 Thread Roland Mainz
Hi! Is there anyone interested to help with a small project to add a new scheduler class for batch jobs, e.g. a "bt" (=batch) scheduler class ? The idea would be to create something where the process members of this class are given longer timeslices but can be preempted by any timeshareing

Re: [perf-discuss] Process groups and process distribution acrossboards...

2007-05-29 Thread Roland Mainz
Eric Saxe wrote: > Roland Mainz wrote: > > Eric Saxe wrote: > >> Roland Mainz wrote: > >>> Is there any special handling of process groups to make sure that > >>> processes (and their LWPs) are kept together ? > >>> > >>> Thin

Re: [perf-discuss] realloc() performance compared to Linux

2007-02-01 Thread Roland Mainz
Phil Harman wrote: [snip] > I'm currently working on some enhancements for libc's malloc() (and > friends) which are primarily targeted at improving packing and thread > scalability for small allocations (1-128 bytes). BTW: It may be nice to think about adding more than one API for such cases. For

[perf-discuss] bzip2 performance on SPARC / was: Re: [osol-discuss] Re: 3K man pages available

2007-01-29 Thread Roland Mainz
Eric Enright wrote: > On 1/29/07, Bruno Jargot <[EMAIL PROTECTED]> wrote: > > On 1/29/07, Michelle Olson <[EMAIL PROTECTED]> wrote: > > > Hi Rich, [snip] > Waiting a little extra time to receive the archive is far better than > waiting a lot of extra time to unpack it. Offtopic: Both gzip and bzip

Re: [perf-discuss] Process groups and process distribution acrossboards...

2006-11-04 Thread Roland Mainz
Eric Saxe wrote: > Roland Mainz wrote: > > Is there any special handling of process groups to make sure that > > processes (and their LWPs) are kept together ? > > > > Think about an (imaginary (and simplified)) machine with 4 strands per > > core, 4 cores per

[perf-discuss] Process groups and process distribution across boards...

2006-10-29 Thread Roland Mainz
Hi! Is there any special handling of process groups to make sure that processes (and their LWPs) are kept together ? Think about an (imaginary (and simplified)) machine with 4 strands per core, 4 cores per socket, 4 sockets per board and 4 boards per cabinet and 4 cabinets where each layer

[perf-discuss] Can |recv()| be used on a pipe in Solaris ?

2006-09-04 Thread Roland Mainz
Hi! Is it possible to use |recv()| in Solaris on a normal pipe (see attached email, it may be somewhat performace-critical for shell scripts) ? Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL

[perf-discuss] Re: [ksh93-integration-discuss] Re: ksh93 and default"-xarch"/"-xtarget" compiler flags in OS/Net...

2006-07-16 Thread Roland Mainz
David Comay wrote: > Can I ask why you feel bumping up the optimization level is necessary for > ksh93 > and friends? Because ksh is used very often during Solaris boot and runtime so it has some importance for me to look at performance and footprint and try to optimize this... > I would instead

Re: [perf-discuss] Solaris kernel is malloc()-happy / was: Re:ksh93/libshell+libast and portabilty /was:Re:[ksh93-integration-discuss] comments on rev 287 makefiles

2006-07-16 Thread Roland Mainz
Jonathan Adams wrote: > > > - Create a C macro |#define KMEM_TMP_ALLOC()| which expands to the > > > following procedure: > > > 1. Measure stack size and current available space on stack. The first > > > 512bytes (of a 8k default stack, a 64k default stack would offer much > > > more room (this val

Re: [perf-discuss] Solaris kernel is malloc()-happy / was: Re:ksh93/libshell+libast and portabilty /was:Re:[ksh93-integration-discuss] comments on rev 287 makefiles

2006-07-16 Thread Roland Mainz
Jonathan Adams wrote: > > On Mon, Jul 10, 2006 at 11:35:31AM -0700, Alexander Kolbasov wrote: > > > [EMAIL PROTECTED] wrote: > > > > >Offtopic: Which still reminds me to write an email about that the > > > > >Solaris kernel is very very malloc()-happy (which is unneccesary in > > > > >many > > >

Re: [perf-discuss] Solaris kernel is malloc()-happy / was: Re:ksh93/libshell+libast and portabilty / was:Re:[ksh93-integration-discuss] comments on rev 287 makefiles

2006-07-16 Thread Roland Mainz
Alexander Kolbasov wrote: > > Create a C macro |#define KMEM_TMP_ALLOC()| which expands to the > > following procedure: > > 1. Measure stack size and current available space on stack. The first > > 512bytes (of a 8k default stack, a 64k default stack would offer much > > more room (this value is a

[perf-discuss] ksh93 and default "-xarch"/"-xtarget" compiler flags in OS/Net...

2006-07-12 Thread Roland Mainz
Hi! While looking at "isaexec" machinery which selects the ksh93 binary to be used I realised that it uses /usr/bin/i86/ksh93 on a Solaris version which supports as minimum version the Intel Pentium-1 (or higher) ... ... my proposal would be to bump the default optimisation settings up to

[perf-discuss] Solaris kernel is malloc()-happy / was: Re: ksh93/libshell+libast and portabilty / was: Re:[ksh93-integration-discuss] comments on rev 287 makefiles

2006-07-09 Thread Roland Mainz
[EMAIL PROTECTED] wrote: > >Offtopic: Which still reminds me to write an email about that the > >Solaris kernel is very very malloc()-happy (which is unneccesary in many > >cases now that C99-sematics are allowed). > > You are wrong. Thank you... ;-(( See below... > We *malloc* not because of sh