🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by timball Tue, 30 Nov 1999 00:00
slrn: is it supposed to use 14.2% of my mem?
#54682
Author: timball
Date: Tue, 30 Nov 1999 00:00
33 lines
1647 bytes
ps aux |grep slrn
USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
timball   5502  0.6 14.2  9492  8984  a3 S   20:24   1:02 bin/slrn

That's not *right* is it? I'm using the lastest one:
timball@hawking {131}$ slrn --version
Slrn Version: 0.9.5.7 (Nov 25 1999 15:06:39)
S-Lang Library Version: B1.3.10
OS-Type: Unix

slrn compiled with support for:
        character set mapping
        nntp (SLtcp socket code)
        spool
        inews
        slrnpull
        S-Lang Macros

Default server object: nntp
Default posting mechanism: nntp
Supported character sets include:
        ISOLatin
        ibm850
        NeXT
        koi8
Default character set: isolatin

--timball

-- 
	timball@garbage.com

Re: slrn: is it supposed to use 14.2% of my mem?
#54710
Author: Dawn Owens-Nicholson
Date: Wed, 01 Dec 1999 00:00
14 lines
1321 bytes
timball wrote:
> Attached is my .slrnrc would that help?

It sort of helps--in that slrnrc you're not loading any macros or defining
any macros that you could use to load macros.  Are you loading any other
slrnrc files (a system-wide one, perhaps?).  It's unlikely you are.  I'd say
it now depends on what you're doing while reading news.  This has already
been covered, so I won't repeat it.

Keep in mind however much RAM slrn uses, it's pretty likely CLI apps are
going to use fewer resources than GUI apps because they have lower overhead,
in the aggregate.

Re: slrn: is it supposed to use 14.2% of my mem?
#54718
Author: Dawn Owens-Nicholson
Date: Wed, 01 Dec 1999 00:00
8 lines
887 bytes
timball wrote:
> That's not *right* is it?

You might also have loaded some macro that uses a lot of RAM.  We need more
information about what you're doing with slrn to pin down why slrn is using
more RAM than you expect.

Re: slrn: is it supposed to use 14.2% of my mem?
#54722
Author: timball
Date: Wed, 01 Dec 1999 00:00
92 lines
4569 bytes
Attached is my .slrnrc would that help?

In article Dawn Owens-Nicholson wrote:
>You might also have loaded some macro that uses a lot of RAM.  We need more
>information about what you're doing with slrn to pin down why slrn is using
>more RAM than you expect.


% Rather gimpy slrnrc file for timball kinda makes things mutt like.
% Hopes this works.
%
%										timball@sheergenius.com

%-- Personal info (kinda) -----------------------
set replyto "timball@garbage.com"		% spam to a minimum.
set realname "timball"					% me!
set hostname "garbage.com"				% better than forging headers
set username "timball"					% .... much better.
set signature .signature-news
set save_directory "news"				% save message to this dir
set decode_directory "junk"				% decoded files to here.

%-- Settings most are of type 0/1 ---------------
set editor_command "vim %s +%d -c ':0;/^$/+'"	% already in .vimrc
set confirm_actions 0					% I know what I'm doing, don't ask.
set quote_string ">"
set followup_strip_signature 1
set reject_long_lines 1					% no lines over 80 lines.
set show_thread_subject 0				% ... helps w/ threads.
set query_next_group 0					% these two let me move 
set query_next_article 0				% to new group w/o asking.
set unsubscribe_new_groups 1			% auto un-sub new groups.
set display_author_realname 1			% Don't wanna see email address
set use_header_numbers 0
set simulate_graphic_chars 1			% use ansi to draw arrows.  :)
set auto_mark_article_as_read 1			% mark as read when I read them.
set cc_followup	1						% seems polite
set abort_unmodified_edits 1			% don't send if not editted.
%set read_active 1						% read active lists at startup.
set no_backups 1						% backups are for wimps.


set cc_followup_string "[This message has also been posted]"
set query_read_group_cutoff 400
set wrap_flags 7						% wrap headers, quoted text, body
set beep 2								% only show visual bell.
set sorting_method 9					% threads are so good. thread+rev-date
%visible_headers "Date:,From:,Subject:,Newsgroups:,Followup-To:,Reply-To:"


%--- Color is cool for everyone -----------------
% type	description		fg				bg
color   headers         yellow    		default
color   quotes          green           default
color   signature       brightred       default
color   cursor       	yellow    		red
color   error           brightred       default
color   status          brightgreen     blue
color   tree            brightmagenta   default
color   tilde           brightmagenta   default
color   subject         cyan 			default
color	normal			lightgray		default
color   thread_number   green			default
color   group           cyan    		default
color   author          green  			default
color   description     white   		default
color   high_score      yellow  		default
color   menu			brightgreen 	blue
color   menu_press      brightgreen		blue
color   article         lightgray 		default
color	header_number	lightgray		default
color	header_name 	green 			default
 
%-- Group keybindings ---------------------------
setkey group 	select_group 		"\e[C"
setkey group	refresh_groups		"^G"
setkey group 	down				"j"
setkey group 	up					"k"

%-- Article keybindings -------------------------
setkey article 	hide_article		"i"
setkey article	up					"k"		% Could do prev
setkey article 	down				"j"		% Could do next
setkey article 	delete_thread 		"^d"
setkey article	pageup				"-"
setkey article 	"collapse_thread" 	"\e[D"
setkey article 	"uncollapse_thread" "\e[C"

-- 
timball@garbage.com

Re: slrn: is it supposed to use 14.2% of my mem?
#54746
Author: Thomas Schultz
Date: Wed, 01 Dec 1999 00:00
15 lines
1333 bytes
On 30 November 1999 at 23:10 GMT, timball <timball@garbage.com> wrote:
> ps aux |grep slrn
> USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
> timball   5502  0.6 14.2  9492  8984  a3 S   20:24   1:02 bin/slrn

On my system, this value heavily depends on the group I'm reading.
Right now, it's news.software.readers with about 30 unread articles,
so slrn needs 2776/1720 kB of memory. If I enter a huge group using
ESC-1-RET and view 13,000 articles, slrn needs 10892/9844 kB to keep
all the article headers in memory.
-- 
Kind regards,
    Thomas Schultz

Re: slrn: is it supposed to use 14.2% of my mem?
#55061
Author: Dawn Owens-Nicholson
Date: Fri, 10 Dec 1999 00:00
30 lines
2530 bytes
Anthony wrote:
> If headers are cached on disk, slrn should be able to read the old headers
> on disk and compare them with the newer ones so there is no need to re-read
> *all* the headers everytime.

Actually slrn would still have to verify the disk-cached headers--comparing
the cached headers on disk with the new ones requires verifying that cached
headers are still offered articles.  It's possible between the time slrn
fetched the header (ostensibly cached on disk now) and the time you request
that header (say, by re-entering the group), the article has been
removed--cancelled, expired or manually removed by the admin.  This
verification would take time if you are to have the most accurate header
list when you first enter article mode.

But I can see where you're coming from--most of the time the headers (well,
complete articles for that matter) will not change between the time you
enter some group, quit and re-enter it.  Unfortunately there's no way for
slrn to know this without doing extensive checking.  For an online
newsreader like slrn caching this info on disk is only a slight win in that
it would require less memory while in article mode.  I think an disk-based
article cache for articles already downloaded in their entirety would be a
good thing to have.  Its use could be entirely optional and wouldn't
negatively impact performance.

As a workaround, you could use slrnpull to download the groups you want and
use slrn to get its articles from slrnpull's database.  It won't be as
immediate as you might like (you'll have to wait for slrnpull to pull new
articles) but you'll get faster access to article mode.

Re: slrn: is it supposed to use 14.2% of my mem?
#55071
Author: Anthony
Date: Fri, 10 Dec 1999 00:00
23 lines
2028 bytes
<bluemoon@ux6.cso.uiuc.edu> wrote:
>timball wrote:
>> Attached is my .slrnrc would that help?
>
>It sort of helps--in that slrnrc you're not loading any macros or defining
>any macros that you could use to load macros.  Are you loading any other
>slrnrc files (a system-wide one, perhaps?).  It's unlikely you are.  I'd say
>it now depends on what you're doing while reading news.  This has already
>been covered, so I won't repeat it.
>
>Keep in mind however much RAM slrn uses, it's pretty likely CLI apps are
>going to use fewer resources than GUI apps because they have lower overhead,
>in the aggregate.

True.  Another thing is slrn only cache headers in memory for as long
as you are still in a group.  I wish it would cache those headers on
disk instead, when you read news online slrn basically re-read all
those headers whenever you enter a group.  If headers are cached on
disk, slrn should be able to read the old headers on disk and compare
them with the newer ones so there is no need to re-read *all* the
headers everytime.

Re: slrn: disk caching of headers - no please
#55103
Author: Sven Guckes
Date: Fri, 10 Dec 1999 00:00
15 lines
1392 bytes
* Anthony <locutus@mailcity.com>:
> Another thing is slrn only cache headers in memory
> for as long as you are still in a group.  I wish
> it would cache those headers on disk instead...

Newsserver backups anyone?

Seriously - I dont use slrn to fill my disk.
Besides, if you use slrn on a slow computer
then you don't want it to speed down further
by accessing the disk all the time.

Sven

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads