* [9fans] hungry fossil?
@ 2004-12-27 13:25 cej
2004-12-27 14:58 ` andrey mirtchovski
0 siblings, 1 reply; 2+ messages in thread
From: cej @ 2004-12-27 13:25 UTC (permalink / raw)
To: 9fans
hi,
i use fossil as my fs on both thinkpad t23 and desktop standalone installations.
strangely, fossil uses >10 processes taking over 250megs of RAM
am i missing something? or is it ok and should i use kfs instead?
is kfs to be continued, or abandoned in the future?
thanks, regards, and PF 2005,
++pac.
what follows is part of the table of processes on a freshly booted comp:
term% ps
pac 1 0:00 0:00 88K Await init
pac 2 0:27 0:00 0K Ready genrandom
pac 3 0:00 0:00 0K Wakeme alarm
pac 5 0:00 0:00 0K Wakeme rxmitproc
pac 6 0:00 0:00 244K Pread factotum
pac 8 0:00 0:00 26356K Rendez fossil
pac 9 0:00 0:00 26356K Rendez fossil
pac 10 0:00 0:00 26356K Pread fossil
pac 11 0:00 0:00 26356K Rendez fossil
pac 12 0:00 0:00 26356K Sleep fossil
pac 13 0:00 0:00 26356K Rendez fossil
pac 14 0:00 0:00 26356K Rendez fossil
pac 15 0:00 0:00 26356K Sleep fossil
pac 16 0:00 0:00 26356K Sleep fossil
pac 17 0:00 0:00 26356K Rendez fossil
pac 18 0:00 0:00 26356K Pread fossil
pac 19 0:00 0:00 26356K Rendez fossil
pac 20 0:00 0:00 26356K Pread fossil
pac 21 0:00 0:00 26356K Rendez fossil
pac 22 0:00 0:00 0K Idle pager
pac 23 0:00 0:01 704K Rendez rio
pac 26 0:00 0:00 116K Pread mntgen
pac 29 0:00 0:00 172K Pread cs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] hungry fossil?
2004-12-27 13:25 [9fans] hungry fossil? cej
@ 2004-12-27 14:58 ` andrey mirtchovski
0 siblings, 0 replies; 2+ messages in thread
From: andrey mirtchovski @ 2004-12-27 14:58 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 699 bytes --]
those are threads, so they share the memory (i.e. you shouldn't add
them together). in this case fossil appears "hungry" because it uses
most of the memory it occupies for cache, selected by the -c option to
open in its config.
attached is a hastily put together script that gives you the memory
used on your computer in readable form.
andrey
> hi,
> i use fossil as my fs on both thinkpad t23 and desktop standalone installations.
> strangely, fossil uses >10 processes taking over 250megs of RAM
> am i missing something? or is it ok and should i use kfs instead?
> is kfs to be continued, or abandoned in the future?
>
> thanks, regards, and PF 2005,
>
> ++pac.
>
[-- Attachment #2: mem --]
[-- Type: text/plain, Size: 446 bytes --]
#!/bin/rc
# show available and used memory in
# user-discernible format.
all=`{cat /dev/swap | sed 's,/, ,g'}
# 4096/(1024*1024)
pageinmb=0.00390625
mem = `{echo $all(1)^'*'^$pageinmb | hoc }
memtotal = `{echo $all(2)^'*'^$pageinmb | hoc}
swap = `{echo $all(4)^'*'^$pageinmb | hoc }
swaptotal = `{echo $all(5)^'*'^$pageinmb | hoc}
echo memory: $mem MB used. $memtotal MB total
echo swap: $swap MB used. $swaptotal MB total
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-27 14:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-27 13:25 [9fans] hungry fossil? cej
2004-12-27 14:58 ` andrey mirtchovski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).