panel sugguestion



today i noticed that when the panel has the execute a program, it
works through a fork()/exec() procedure.

the problem is that the panel often takes a number of MB in
memory(when having big drawers for example), sometimes > 4MB.

when forking, at first it creates an identical copy of the panel in the
memory, and the kernel has to give the required memory, often by making
some swapping, and only after that the exec() function is called, and this
can often cause big delays in some machines.

my idea is(and i'm not sure if it's possible, i never done any real
serious programming at C, specificly for GTK/Gnome/Orbit) to have simple
have a simple, small program that all what it will have is a fork/exec
procedure and a Corba interface.

This way the panel(and other programs) will be able to access it without
a big overhead.

(maybe a small modification to gRun will do the trick?!)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]