I hit this bug at one point, and had to bump MEMSTAT_MAXCPU. It's
already asking the kernel for the max number and throwing an error if
it doesn't agree:
if (sysctlbyname("kern.smp.maxcpus", &maxcpus, &size, NULL, 0) < 0) {
[...]
if (maxcpus > MEMSTAT_MAXCPU) {
li
On Mon, 27 Sep 2010, John Baldwin wrote:
Also, I think we should either fix MAXCPU to export the SMP value to
userland, or hide it from userland completely. Exporting the UP value is
Just Wrong (tm).
Well, it's useful in the sense that it tells you what the maximum number of
CPUs a kernel
On Monday, September 27, 2010 5:21:31 pm Robert Watson wrote:
>
> On Mon, 27 Sep 2010, Sean Bruno wrote:
>
> >> wouldn't it be better to do a sysctlbyname() and use the real value for
> >> the
> >> system?
>
> libmemstat contains some useful sample code showing how this might be done.
>
> > T
On Mon, 2010-09-27 at 12:41 -0500, Attilio Rao wrote:
> 2010/9/27 Sean Bruno :
> > On Mon, 2010-09-27 at 08:53 -0700, Julian Elischer wrote:
> >> On 9/27/10 8:26 AM, Sean Bruno wrote:
> >> > Does this look like an appropriate modification to libmemstat?
> >> >
> >> > Sean
> >> >
> >> >
> >> >
On Mon, 27 Sep 2010, Sean Bruno wrote:
wouldn't it be better to do a sysctlbyname() and use the real value for the
system?
libmemstat contains some useful sample code showing how this might be done.
That was my initial thought (as prodded by scottl and peter).
If it is made dynamic, could
On Mon, 27 Sep 2010, Scott Long wrote:
There's no reason not to include . I'm a little reluctant to
have it depend on the static MAXCPU definition, though. What happens when
you mix-and match userland and kernel and they no longer agree on the
definition of MAXCPU? I suggest creating a sys
Hello, Buganini.
You wrote 27 сентября 2010 г., 05:51:11:
> Hi, I just wrote a rough C program that may help to do parallelized
> scripting, for example, parallelized rc.d scripts.
> http://github.com/buganini/brackets
> in this way it is easy to use, no need to escape argv for multiple times.
> a
On Mon, Sep 27, 2010 at 9:21 AM, Sean Bruno wrote:
> On Mon, 2010-09-27 at 08:53 -0700, Julian Elischer wrote:
>> On 9/27/10 8:26 AM, Sean Bruno wrote:
>> > Does this look like an appropriate modification to libmemstat?
>> >
>> > Sean
>> >
>> >
>> > //depot/yahoo/ybsd_7/src/lib/libmemstat/mem
It seems that minidump on amd64 is always dumping at least about 1GB of data
regardless of actual memory size and usage and thus can be even larger than
regular dump.
Specifically, I suspect the following code:
for (va = VM_MIN_KERNEL_ADDRESS; va < MAX(KERNBASE + NKPT * NBPDR,
kernel_vm_end);
2010/9/27 Sean Bruno :
> On Mon, 2010-09-27 at 08:53 -0700, Julian Elischer wrote:
>> On 9/27/10 8:26 AM, Sean Bruno wrote:
>> > Does this look like an appropriate modification to libmemstat?
>> >
>> > Sean
>> >
>> >
>> > //depot/yahoo/ybsd_7/src/lib/libmemstat/memstat.h#4
>> > - /home/seanbru
On Mon, 2010-09-27 at 08:53 -0700, Julian Elischer wrote:
> On 9/27/10 8:26 AM, Sean Bruno wrote:
> > Does this look like an appropriate modification to libmemstat?
> >
> > Sean
> >
> >
> > //depot/yahoo/ybsd_7/src/lib/libmemstat/memstat.h#4
> > - /home/seanbru/ybsd_7/src/lib/libmemstat/memsta
>
> I would not include sys/param and would axe out the comment.
>
> Just make sure anything compiles with these modifies eventually.
>
> Thanks,
> Attilio
>
>
Ah, yes. The include is completely pointless. The value can be
assigned without it.
Sean
=== //depot/yahoo/ybsd_7/src/lib/libmem
On 09/26/2010 21:51, Buganini wrote:
> Hi, I just wrote a rough C program that may help to do parallelized
> scripting, for example, parallelized rc.d scripts.
>
> http://github.com/buganini/brackets
>
> in this way it is easy to use, no need to escape argv for multiple times.
>
>
> any comment
2010/9/27 Sean Bruno :
> Does this look like an appropriate modification to libmemstat?
>
> Sean
>
>
> //depot/yahoo/ybsd_7/src/lib/libmemstat/memstat.h#4
> - /home/seanbru/ybsd_7/src/lib/libmemstat/memstat.h
> @@ -28,12 +28,13 @@
>
> #ifndef _MEMSTAT_H_
> #define _MEMSTAT_H_
> +
There's no reason not to include . I'm a little reluctant to have
it depend on the static MAXCPU definition, though. What happens when you
mix-and match userland and kernel and they no longer agree on the definition of
MAXCPU? I suggest creating a sysctl that exports the kernel's definition o
On 9/27/10 8:26 AM, Sean Bruno wrote:
Does this look like an appropriate modification to libmemstat?
Sean
//depot/yahoo/ybsd_7/src/lib/libmemstat/memstat.h#4
- /home/seanbru/ybsd_7/src/lib/libmemstat/memstat.h
@@ -28,12 +28,13 @@
#ifndef _MEMSTAT_H_
#define_MEMSTAT_H_
+
On Saturday, September 25, 2010 3:53:34 pm Anton Shterenlikht wrote:
> On amd64 r213168 I've a ral(4) CardBus
> wireless device of obscure origin.
> It is identified as
>
> db> bt
> Tracing pid 0 tid 100068 td 0xff0001b59440
> kbd_enter() at kbd_enter+0x3d
> panic() at panic+0x17b
> witness_un
Does this look like an appropriate modification to libmemstat?
Sean
//depot/yahoo/ybsd_7/src/lib/libmemstat/memstat.h#4
- /home/seanbru/ybsd_7/src/lib/libmemstat/memstat.h
@@ -28,12 +28,13 @@
#ifndef _MEMSTAT_H_
#define_MEMSTAT_H_
+#include
/*
* Number of CPU slots in
On Mon, Sep 27, 2010 at 09:52:21AM +0100, Robert Watson wrote:
> One reason I haven't merged the earlier patch is that many high-performance
> 10gbps (and even 1gbps) cards now support multiple input queues in hardware,
> meaning that they have already done the work distribution by the time the
2010/9/27 Olivier Smedts :
> 2010/9/27 Dimitry Andric :
>> On 2010-09-27 09:32, Olivier Smedts wrote:
>>>
>>> 2010/9/23 Bartosz Stec:
>>
>> ...
Assertion failed: (false&& "Ran out of registers during register
allocation!"), function assignRegOrStackSlotAtInterval, file
/us
On Mon Sep 27 10, Hans Petter Selasky wrote:
> Hi,
>
> I was thinking about adding a sysctl to ukbd and ums that shows how many
> keypresses have been done and how many pixels you have moved the mouse during
> a day. These number will mostly be useful for making ergonomic arguments that
> a cer
Quoting Hans Petter Selasky (from Mon, 27 Sep 2010
14:21:42 +0200):
Hi,
I was thinking about adding a sysctl to ukbd and ums that shows how many
keypresses have been done and how many pixels you have moved the mouse during
a day. These number will mostly be useful for making ergonomic argume
2010/9/27 Dimitry Andric :
> On 2010-09-27 09:32, Olivier Smedts wrote:
>>
>> 2010/9/23 Bartosz Stec:
>
> ...
>>>
>>> Assertion failed: (false&& "Ran out of registers during register
>>> allocation!"), function assignRegOrStackSlotAtInterval, file
>>>
>>> /usr/src/lib/clang/libllvmcodegen/../../..
Hi,
I was thinking about adding a sysctl to ukbd and ums that shows how many
keypresses have been done and how many pixels you have moved the mouse during
a day. These number will mostly be useful for making ergonomic arguments that
a certain way of working is better than another one.
Anyone h
Hi,
I was thinking about adding a sysctl to ukbd and ums that shows how many
keypresses have been done and how many pixels you have moved the mouse during
a day. These number will mostly be useful for making ergonomic arguments that
a certain way of working is better than another one.
Anyone h
On 2010-09-27 09:32, Olivier Smedts wrote:
2010/9/23 Bartosz Stec:
...
Assertion failed: (false&& "Ran out of registers during register
allocation!"), function assignRegOrStackSlotAtInterval, file
/usr/src/lib/clang/libllvmcodegen/../../../contrib/llvm/lib/CodeGen/RegAllocLinearScan.cpp,
line
On Mon, Sep 27, 2010 at 3:21 AM, Gary Jennejohn
wrote:
> On Sun, 26 Sep 2010 23:40:22 -0500
> "Michael R. Rusch" wrote:
>
>> I see that the Radeon HD 3200 needs r600_dri.so
>>
>
> This is installed by /usr/ports/graphics/dri, which has been around since
> the beginning of this year.
>
> See the 2
On Mon, 27 Sep 2010, Artemiev Igor wrote:
What is the status for software flowid calculation? I found the old netisr2
patch[1] from Robert Watson and took from there code for setting flowid in
tcp_input with some changes[2]. It work for me very well (8.1-stable) - now
the server can handle no
On Sun, 26 Sep 2010 23:40:22 -0500
"Michael R. Rusch" wrote:
> I see that the Radeon HD 3200 needs r600_dri.so
>
This is installed by /usr/ports/graphics/dri, which has been around since
the beginning of this year.
See the 20100207 entry about Mesa3D in /usr/ports/UPDATING.
--
Gary Jennejohn
2010/9/23 Bartosz Stec :
> On 2010-09-23 08:51, Roman Divacky wrote:
>>
>> if you want to post any build-time numbers for clang please
>>
>> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS #-DNDEBUG
>>
>> uncomment the -DNDEBUG on this line in lib/clang/clang.build.mk
>> and rebuild it ot
2010/9/27 Olivier Smedts :
> 2010/9/23 Bartosz Stec :
>> On 2010-09-23 08:51, Roman Divacky wrote:
>>>
>>> if you want to post any build-time numbers for clang please
>>>
>>> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS #-DNDEBUG
>>>
>>> uncomment the -DNDEBUG on this line in lib/clang
31 matches
Mail list logo