Re: world's toolchain CPUTYPE

2006-02-28 Thread Ruslan Ermilov
On Tue, Feb 28, 2006 at 07:45:20AM +0300, Alex Semenyaka wrote: On Sun, Feb 26, 2006 at 08:57:21PM +0200, Ruslan Ermilov wrote: More details: during the install, part of the toolchain and some special install tools that were built on the build host are used. They have been built using that

Re: unversal watchdog

2006-02-28 Thread Kostik Belousov
On Tue, Feb 28, 2006 at 07:26:26AM +0300, Alex Semenyaka wrote: On Mon, Feb 27, 2006 at 05:41:32PM +0700, Vitaliy Ovsyannikov wrote: Hello, freebsd-hackers. I've stuck with the unable to make watchdogs for daemons running via startup rc-scripts. In linux we can just put the process in the

Re: Fastest timecounter ?

2006-02-28 Thread David Malone
On Mon, Feb 27, 2006 at 06:09:26PM +0200, Vlad GALU wrote: I wrote a piece of software that has to get the current timestamp, one way or the other, a huge number of times per second. Apart from the empyrical tests one can perform to find out the timekeeping scheme with the less

Re: Re: Fastest timecounter ?

2006-02-28 Thread Sergey Babkin
From: David Malone [EMAIL PROTECTED] The TSC is always fastest, but unfortunately under some circumstances it can't be trusted (if your CPU has throttle modes to save power or on some SMP systems where the two TSCs in each CPU give different values). If I remember correctly, all the SMP CPUs on

Re: FreeBSD 4.11 P13 Crash

2006-02-28 Thread Peter Jeremy
On Mon, 2006-Feb-27 20:52:57 -0500, Carroll Kong wrote: Okay this time my kernel was recompiled so there are no modules to make it easier to see all of the symbols. If you cd to your kernel build directory (eg /usr/src/sys/compile/DAEMON) and run 'make gdbinit' and then use kgdb in that

Re: question about preemption code

2006-02-28 Thread John Baldwin
On Saturday 25 February 2006 06:04, Kazuaki Oda wrote: Hi, When reading kern_switch.c, I noticed odd difference between !SMP and SMP in maybe_preempt_in_ksegrp(). In !SMP case: = #ifdef PREEMPTION #ifndef FULL_PREEMPTION

Re: Accessing address space of a process through kld!!

2006-02-28 Thread John Baldwin
On Monday 27 February 2006 13:31, John-Mark Gurney wrote: Tanmay wrote this message on Mon, Feb 27, 2006 at 13:56 +0530: How do I access the address space ie text,data and stack of a (user level)process whose pid I know from my kld. for eg: Suppose 'vi' is running and I want to access its

RE: FreeBSD 4.11 P13 Crash

2006-02-28 Thread Carroll Kong
I've ordered a new CPU and power supply already. After installing those parts, I hope the problem goes away. I would probably bet it's more likely the power as someone else already mentioned that's a big culprit. If it still fails after those two changes, then I can consider the downgrade. I

Re: UMA zone allocator memory fragmentation questions

2006-02-28 Thread Robert Watson
On Mon, 27 Feb 2006, Rohit Jalan wrote: Is there an upper limit on the amount of fragmentation / wastage that can occur in a UMA zone? Is there a method to know the total number of pages used by a UMA zone at some instance of time? Hey there Rohit, UMA allocates pages retrieved from VM as

Re: question about preemption code

2006-02-28 Thread Stephan Uphoff
John Baldwin wrote: On Saturday 25 February 2006 06:04, Kazuaki Oda wrote: Hi, When reading kern_switch.c, I noticed odd difference between !SMP and SMP in maybe_preempt_in_ksegrp(). In !SMP case: = #ifdef PREEMPTION

Re: VMWARE GSX Port?

2006-02-28 Thread Mike Silbersack
On Sat, 25 Feb 2006, Scott Long wrote: Ashok Shrestha wrote: VMWARE GSX was released recently for free. [http://www.vmware.com/news/releases/server_beta.html] Is anyone working on a port for this? I've started on it, but I haven't made much progress yet. Scott Anyone who's interested

Re: VMWARE GSX Port?

2006-02-28 Thread Seán C . Farley
On Tue, 28 Feb 2006, Mike Silbersack wrote: On Sat, 25 Feb 2006, Scott Long wrote: Ashok Shrestha wrote: VMWARE GSX was released recently for free. [http://www.vmware.com/news/releases/server_beta.html] Is anyone working on a port for this? I've started on it, but I haven't made much

Re: world's toolchain CPUTYPE

2006-02-28 Thread Alex Semenyaka
On Tue, Feb 28, 2006 at 10:19:11AM +0200, Ruslan Ermilov wrote: Isn't is reasonable to add corresponding optional functionality into the buld process? No. Why? :) For example, if -DSTATIC_TOOLCHAIN (or pick any other name) is set, then: 1) build toolchain statically linked This is

Re: UMA zone allocator memory fragmentation questions

2006-02-28 Thread Rohit Jalan
Hi Robert, My problem is that I need to enforce a single memory limit on the total number of pages used by multiple zones. The limit changes dynamically based on the number of pages being used by other non-zone allocations and also on the amount of available swap and memory. I've tried to do