10-12-2012
Quote:
Originally Posted by
cokedude
Why do you think it is ram instead of cpu issue? I was thinking it was a cpu issue. Ram is much easier to replace so I hope your right.
The way you presented your problem it would have been easily explainable by a memory shortage. That doesn't mean it
is a memory shortage, though. This is why i asked you to confirm this.
Always keep in mind that i know your computer only from what you are telling me. Because this picture is necessarily incomplete i come up with all sorts of theories - it falls upon you to falsify them. You haven't said how much memory is installed in your laptop, so i supposed the problem to come from a memory shortage - your information that you have 4GB installed and 4GB swap configured pretty much clears this suspicion.
I'd still try to do as i have told you, just to ultimately falsify this. Another thing might be a problem with the applications: start them from a command line and watch carefully for any output they might produce. Firefox and vlc (i haven't used chrome yet) produce no output at all as long as everything works perfectly, so any output at all will be relevant.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am running Solaris 8 intel and recently my Common Desktop environment will not load. I enter the root username and password at the prompt, it switches to the CDE screen and the freezes. The OpenWindows environment works fine. I tried with a regular username (not root) and I get the same resutls.... (2 Replies)
Discussion started by: dangral
2 Replies
2. SCO
Hie
I use SCO Unix 5.0.5 as my operating system and i have been having the following problem for the past couple of days :
After every 3 hours or more , my system freezes and all users are locked out .I can not do anything even on the console . Each time i have to press the reset button... (2 Replies)
Discussion started by: babby
2 Replies
3. Solaris
Hi guys, I have a problem with installing new Solaris servers via jet/jumpstart (tried both).
I`ve configured server, created profile for a client, issued
{1} boot net -v install
and went to get some cofee...
After I came back, client was able to load system from server, get IP and,... (4 Replies)
Discussion started by: masloff
4 Replies
4. SCO
hi
I've configured X Server using Video Configuration Manager on SCO 5.0.6, but the keyboard and mouse are freezing after 5 minutes on the graphical login mask.
---------- Post updated at 01:59 PM ---------- Previous update was at 02:43 AM ----------
BTW I finished the configuration,... (2 Replies)
Discussion started by: ccc
2 Replies
5. Red Hat
Hi All,
I am having a problem where my mouse (USB) is freezing after some idle time, and I am having to reboot everytime that happens.
I looked in the file /etc/X11/xorg.config to see if there is an entry for mouse and I could not find it. Instead I found the following entry:
Section... (8 Replies)
Discussion started by: jxh461
8 Replies
6. BSD
Hey all,
This is my first post and I'm a brand new unix user. Just to let ya know, my technical knowledge consists of windows and linux(Ubuntu, Fedora, Sabayon, and Arch Linux), so I'm not a complete NOOB at using unix-like OSes. Anyway, I installed FreeBSD 8.1 yesterday and everything is... (0 Replies)
Discussion started by: nathanbrownitt
0 Replies
7. Ubuntu
Hi to all,
I have the problem that a laptops with windows XP cannot startup even in safe mode nor using last good known configuration. I have a Ubuntu 10.10 Live CD and booting from it I can read the Hard Drive.
I need to do a backup the Hard Drive from XP laptop and I want to connect this... (5 Replies)
Discussion started by: cgkmal
5 Replies
8. Ubuntu
Dear all,
I would like to transfer my old laptop documents/files etc to the new laptop without using any external hard disk.
Please let me know if its possible via any way.
Thank in advance,
emily (3 Replies)
Discussion started by: emily
3 Replies
9. UNIX for Advanced & Expert Users
Hello all,
Earlier I had a mac book and created a HFS+ file system on Seagate 1 TB external HDD, copied around 200 GB content. Now, I have a Windows 7 machine and wanted to copy the HDD contents to this new machine. Tried using MacDrive10 to mount HFS+ file system in Windows. Mouting is fine and... (1 Reply)
Discussion started by: matrixmadhan
1 Replies
10. Linux
Hi everyone,
I have had trouble getting several versions of Linux stable on my machine over the last few months.
I do not think the issue is with the machine. Windows ran fine on it for a long time.
The current issue is that whenever I lock the screen then come back after a long time I find... (2 Replies)
Discussion started by: mojoman
2 Replies
LEARN ABOUT DEBIAN
bup-memtest
bup-memtest(1) General Commands Manual bup-memtest(1)
NAME
bup-memtest - test bup memory usage statistics
SYNOPSIS
bup memtest [options...]
DESCRIPTION
bup memtest opens the list of pack indexes in your bup repository, then searches the list for a series of nonexistent objects, printing
memory usage statistics after each cycle.
Because of the way Unix systems work, the output will usually show a large (and unchanging) value in the VmSize column, because mapping the
index files in the first place takes a certain amount of virtual address space. However, this virtual memory usage is entirely virtual; it
doesn't take any of your RAM. Over time, bup uses parts of the indexes, which need to be loaded from disk, and this is what causes an
increase in the VmRSS column.
OPTIONS
-n, --number=number
set the number of objects to search for during each cycle (ie. before printing a line of output)
-c, --cycles=cycles
set the number of cycles (ie. the number of lines of output after the first). The first line of output is always 0 (ie. the base-
line before searching for any objects).
--ignore-midx
ignore any .midx files created by bup midx. This allows you to compare memory performance with and without using midx.
--existing
search for existing objects instead of searching for random nonexistent ones. This can greatly affect memory usage and performance.
Note that most of the time, bup save spends most of its time searching for nonexistent objects, since existing ones are probably in
unmodified files that we won't be trying to back up anyway. So the default behaviour reflects real bup performance more accurately.
But you might want this option anyway just to make sure you haven't made searching for existing objects much worse than before.
EXAMPLE
$ bup memtest -n300 -c5
PackIdxList: using 1 index.
VmSize VmRSS VmData VmStk
0 20824 kB 4528 kB 1980 kB 84 kB
300 20828 kB 5828 kB 1984 kB 84 kB
600 20828 kB 6844 kB 1984 kB 84 kB
900 20828 kB 7836 kB 1984 kB 84 kB
1200 20828 kB 8736 kB 1984 kB 84 kB
1500 20828 kB 9452 kB 1984 kB 84 kB
$ bup memtest -n300 -c5 --ignore-midx
PackIdxList: using 361 indexes.
VmSize VmRSS VmData VmStk
0 27444 kB 6552 kB 2516 kB 84 kB
300 27448 kB 15832 kB 2520 kB 84 kB
600 27448 kB 17220 kB 2520 kB 84 kB
900 27448 kB 18012 kB 2520 kB 84 kB
1200 27448 kB 18388 kB 2520 kB 84 kB
1500 27448 kB 18556 kB 2520 kB 84 kB
DISCUSSION
When optimizing bup indexing, the first goal is to keep the VmRSS reasonably low. However, it might eventually be necessary to swap in all
the indexes, simply because you're searching for a lot of objects, and this will cause your RSS to grow as large as VmSize eventually.
The key word here is eventually. As long as VmRSS grows reasonably slowly, the amount of disk activity caused by accessing pack indexes is
reasonably small. If it grows quickly, bup will probably spend most of its time swapping index data from disk instead of actually running
your backup, so backups will run very slowly.
The purpose of bup memtest is to give you an idea of how fast your memory usage is growing, and to help in optimizing bup for better memory
use. If you have memory problems you might be asked to send the output of bup memtest to help diagnose the problems.
Tip: try using bup midx -a or bup midx -f to see if it helps reduce your memory usage.
Trivia: index memory usage in bup (or git) is only really a problem when adding a large number of previously unseen objects. This is
because for each object, we need to absolutely confirm that it isn't already in the database, which requires us to search through all the
existing pack indexes to ensure that none of them contain the object in question. In the more obvious case of searching for objects that
do exist, the objects being searched for are typically related in some way, which means they probably all exist in a small number of pack-
files, so memory usage will be constrained to just those packfile indexes.
Since git users typically don't add a lot of files in a single run, git doesn't really need a program like bup midx. bup, on the other
hand, spends most of its time backing up files it hasn't seen before, so its memory usage patterns are different.
SEE ALSO
bup-midx(1)
BUP
Part of the bup(1) suite.
AUTHORS
Avery Pennarun <apenwarr@gmail.com>.
Bup unknown- bup-memtest(1)