[Dillo-dev]cache replace
hello all: it seems that dillo doesn't use cache replace algorithms. it simply inserts new entry into the hash table. then if the program runs for a long time, it will use more and more memories. doesn't it?
On Thu, 6 Jan 2005 21:18:17 +0800 "Yu Zenghui" <yuzenghui@people.com.cn> wrote:
hello all: it seems that dillo doesn't use cache replace algorithms. it simply inserts new entry into the hash table. then if the program runs for a long time, it will use more and more memories. doesn't it?
exactly. there's a patch that i've been using for years, it's perfectly stable (but i'm not sure if it applies cleanly to current versions): http://lists.auriga.wearlab.de/pipermail/dillo-dev/2003-January/000073.html - Thorben
* Yu Zenghui <yuzenghui@people.com.cn> wrote:
it seems that dillo doesn't use cache replace algorithms. it simply inserts new entry into the hash table. then if the program runs for a long time, it will use more and more memories. doesn't it?
Hmm. I always thought that was a feature. :) Seriously, I find it useful that dillo uses cache when possible, without touching the network. That makes it easy for me to preload a bunch of pages and then browse them when I don't have 'net access. It also speeds things up compared to browsers which check the network for updates before (or instead of) using cache. I don't tend to run one copy of dillo for a long time, though. Instead, I generally start a new instance for each site or task, and close it when I'm done. I think I have about 20-30 open right now. I guess in that sense, I treat it like an xterm -- open it, perform one or two tasks with it, then close it. I have a lot of instances running all the time, but I cycle through them quickly. Since each one has a single purpose, it's almost like a sticky-note to remind me to finish something. -- Scott
On Fri, 7 Jan 2005 00:11:41 -0700, Scott Scriven <dillo-dev@toykeeper.net> wrote:
'net access. It also speeds things up compared to browsers which check the network for updates before (or instead of) using cache.
yep, i use this also maybe this could be one option (command line or run time)!?
Instead, I generally start a new instance for each site or task, and close it when I'm done. I think I have about 20-30 open
this doesnt work for low end machines, where we have little memory and/or little CPU also, at least now, you can only have one cookie enable dillo active, so we have to "hunt" for that dillo when we need a cookie enable so cache replace is still needed 8) higuita -- Naturally the common people don't want war... but after all it is the leaders of a country who determine the policy, and it is always a simple matter to drag the people along, whether it is a democracy, or a fascist dictatorship, or a parliament, or a communist dictatorship. Voice or no voice, the people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country. -- Hermann Goering, Nazi and war criminal, 1883-1946
On Thu, Jan 13, 2005 at 12:20:26AM +0000, higuita wrote:
also, at least now, you can only have one cookie enable dillo active, so we have to "hunt" for that dillo when we need a cookie enable so cache replace is still needed 8)
i'm currently working on the configuration dpi, and moving the cookie stuff to a dpi is my next task after i'm finished here (the cookie dpi is going to depend on the config dpi) so that at least solves the cookie issue. cache is the next thing on my list, we'll talk when i get there.
Naturally the common people don't want war... but after all it is the leaders of a country who determine the policy, and it is always a simple matter to drag the people along, whether it is a democracy, or a fascist dictatorship, or a parliament, or a communist dictatorship. Voice or no voice, the people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country. -- Hermann Goering, Nazi and war criminal, 1883-1946
i *LOVE* this quote, if bush wasn't such an idiot i could swear that he studied Goering. ;) -brian -- "Now you know why I got the everliving hell OUT of Windows administration. Knowing it doesn't make it any easier. It's just broken-as-designed."
participants (5)
-
Brian Hechinger
-
higuita
-
Scott Scriven
-
Thorben Thuermer
-
Yu Zenghui