nt process = 472 (bash)
trap number = 12
panic: page fault
--
Please, tell how correct context switching should be implemented?
OS version: FreeBSD 5.4
tsleep and msleep are the appropriate ways to context switch. mi_switch
is an implementation det
472 (bash)
trap number = 12
panic: page fault
--
Please, tell how correct context switching should be implemented?
OS version: FreeBSD 5.4
--
Best regards,
Nickolas mailto:[EMAIL
"Mad" Scientist
CyberLife Labs, LLC
On Sat, 2004-01-31 at 18:00, Milo Hyson wrote:
> We don't have any other systems that are as similar as the two in the
> test, however we did plot context-switching performance against CPU and
> memory performance on several systems to s
We don't have any other systems that are as similar as the two in the
test, however we did plot context-switching performance against CPU and
memory performance on several systems to see if anything jumped out. We
found that beastie (the 2200+) is doing only about 26% of the
task-swi
On Sat, 31 Jan 2004, Milo Hyson wrote:
> We've got these two very similar machines that are exhibiting
> drastically different context-switching performance. The slower of the
> two is actually task-switching at four times the rate of the other.
> We've gone through seve
We've got these two very similar machines that are exhibiting
drastically different context-switching performance. The slower of the
two is actually task-switching at four times the rate of the other.
We've gone through several benchmarks and are at a complete loss to
explain it. We
On Fri, Feb 07, 2003 at 03:35:15PM +0200, Andrey Simonenko wrote the words in effect
of:
> On Thu, Feb 06, 2003 at 10:50:28AM -0800, Julian Elischer wrote:
> In this case, as I understand, I need to modify some parts of the kernel.
> What is IP ?
I think Julian meant IPI (Inter-Processor Interrup
On Thu, Feb 06, 2003 at 10:50:28AM -0800, Julian Elischer wrote:
>
> The only way it makes sense to talk about suspending
> a process in user space from the kernel, would be in a MP system. in a
> UP system, if you are in the kernel, then there is no process in user
> space. (it trapped into the k
signals
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
The only way it makes sense to talk about suspending
a process in user space from the kernel, would be in a MP system. in a
UP system, if you are in the kernel, th
Andrey Simonenko <[EMAIL PROTECTED]> writes:
> In short: I need to stop (suspend) some process from the kernel, when
> that process is in user mode and get information about its general-purpose
> registers, its VM structures, etc.
Have you looked at ptrace(2)? That's what gdb(1) uses. You can ge
it is possible to
simply remove a process from the run queue if there is only one CPU,
because 4.4BSD kernel is never preempted to run another process, while
executing in a system call (until current executing process force voluntary
context switching). But such approach does not work on the sys
Dear Jason,
>
> I have an inconsistency that I am trying to explain. When I
> do a "w" command
> on the box, I see this:
>
> 7:31PM up 74 days, 39 mins, 1 user, load averages: 1.12, 0.94, 0.93
>
> This says I have a load of 1.12 over the past minute, or, for every
> available CPU interval,
> >> > Greetings! I have a FreeBSD-4.5 box that is a specialized server box. It
> >> > doesn't run any user processes and only runs a bunch of small, server
> >> > efficient processes.
> >> >
> >> > I have an inconsistency that I am trying to explain. When I do a "w"
> >> > command
> >> > on the
On 03-May-2002 Jason Borkowsky wrote:
>
>> > Greetings! I have a FreeBSD-4.5 box that is a specialized server box. It
>> > doesn't run any user processes and only runs a bunch of small, server
>> > efficient processes.
>> >
>> > I have an inconsistency that I am trying to explain. When I do a "w
> > Greetings! I have a FreeBSD-4.5 box that is a specialized server box. It
> > doesn't run any user processes and only runs a bunch of small, server
> > efficient processes.
> >
> > I have an inconsistency that I am trying to explain. When I do a "w" command
> > on the box, I see this:
> >
> >
In message <[EMAIL PROTECTED]>, Jason
Borkowsky writes:
>1. How is it my load average is over 1, but my single CPU is 85% idle?
This is quite possible due to process synchronisation, since there
is no direct relationship between the load average and the percentage
of time that the CPU is idle. T
On 02-May-2002 Jason Borkowsky wrote:
>
> Greetings! I have a FreeBSD-4.5 box that is a specialized server box. It
> doesn't run any user processes and only runs a bunch of small, server
> efficient processes.
>
> I have an inconsistency that I am trying to explain. When I do a "w" command
> on
Greetings! I have a FreeBSD-4.5 box that is a specialized server box. It
doesn't run any user processes and only runs a bunch of small, server
efficient processes.
I have an inconsistency that I am trying to explain. When I do a "w" command
on the box, I see this:
7:31PM up 74 days, 39 mins,
In the last episode (Mar 29), Russell Francis said:
> I was wondering if there is a way to determine the context switching
> rate?
>
> In /usr/include/sys/vmmeter.h the structure
>
> struct vmmeter {
> u_int v_swtch; /* context switches */
> ...
&g
--- Russell Francis <[EMAIL PROTECTED]> wrote:
> I was wondering if there is a way to determine the context switching rate?
>
> In /usr/include/sys/vmmeter.h the structure
>
> struct vmmeter {
> u_int v_swtch; /* context switches */
> .
>
I was wondering if there is a way to determine the context switching rate?
In /usr/include/sys/vmmeter.h the structure
struct vmmeter {
u_int v_swtch; /* context switches */
.
.
.
}
looks like what I want but I can't find a function which returns
> All,
>
> I'm working on the emulator for OSF1/Mach for FreeBSD/Alpha, and I need
> some help understanding how to do some things in the FreeBSD kernel--if anyone
> can answer any of the following questions, it would be greatly appreciated:
>
> 1) How do you create a process in the kernel
All,
I'm working on the emulator for OSF1/Mach for FreeBSD/Alpha, and I need
some help understanding how to do some things in the FreeBSD kernel--if anyone
can answer any of the following questions, it would be greatly appreciated:
1) How do you create a process in the kernel (i.e., you
23 matches
Mail list logo