New answers tagged ram
0
It can actually be good if all of your RAM is used up. Reading something from RAM is faster than reading it from the hard drive, so most modern operating systems will pre-load files from your hard drive into RAM if it thinks you might use them to speed up future operations. Thus, if I use a program like top, after my computer is on for a couple of minutes, ...
1
Each integer requires 32 bits from the memory.
4 bytes = 4 * 8 bits = 4 bytes, so 2621440 integers would take (2621440 * 4 * 8) bits = (2621440 * 4) bytes = 80 megabits (Mb) = 10 megabytes (MB).
I think that you make a confusion between megabits (Mb) and megabytes (MB): 8 megabits (Mb) = 1 megabytes (MB).
-1
The maximum CPU limit under Linux is 4000. The system will run with more than 4000 but, this will not guarantee the performance...yet.
0
I had also issues with kworker eating whole memory. This seemed to help, run as root:
echo N > /sys/module/drm_kms_helper/parameters/poll
There are also other post about it on internet
1
One has to distinguish between what Ubuntu supports out of the box, and what it can support when one uses a custom kernel.
There are numerous features in the Linux kernel that can be tweaked at compile time. For the default, generic kernel, the Ubuntu developers choose values they think are appropriate.
Regarding RAM, this means, that at least before ...
0
As far as maximum CPU support, I don't think it exists, but there might be a limit on the number of CPU's it can handle.
If you have more than 3 GB RAM in your computer, you don't have to pick 64-bit Ubuntu for making full use of your RAM. The 32-bit Ubuntu automatically installs a PAE kernel. The kernel is the core of the operating system. A PAE kernel ...
1
The maximum ram supported for ubuntu 32 bit is 4gb. 64 bit Ubuntu, I think it's something along the lines of 1 tb (1024 gb). As for processors, I don't think there's an upper bound to what it can support in terms of power. Just make sure you're using a common processor architecture such as i386 or amd64. Since Ubuntu runs on high powered servers with ...
0
to my knowledge there are no limits, since Ubuntu is also used for large servers etc. and Linux in general runs supercomputers I think there should be no problem. If you have more that 4 gb of RAM you probably should choose the 64-bit version.
1
No. You shouldn"t have to repartition anything if you're just upgrading RAM. The partitions exist on your Hard Drive. (Or Solid State Drive, USB, etc. that you installed the Operating System on.)
Just be sure your RAM matches what is required for your motherboard (which it looks like you have). That includes pins and speed.
Be careful of electro-static ...
2
Nothing is permanently installed on RAM. RAM only stores data while it has power. Changing or upgrading your RAM will not affect your linux installation
1
sudo hwinfo --bios 2> /dev/null | grep 'Memory Device: #' -A14 | grep 'Size'
this tells me about my ram sticks
~$ sudo hwinfo --bios 2> /dev/null | grep 'Memory Device: #' -A14 | grep 'Size'
Size: 4 GB
Size: No Memory Installed
Size: 4 GB
Size: 4 GB
It is always better to look on the motherboard and read the manual about memory ...
3
Edit the .desktop file in
/usr/share/applications/google-chrome.desktop
Edit the exec line and add the arguments you need
0
The Gnu time command can print the maximum resident set size used by a command.
You do have to make sure to use the /usr/bin/time command, not the Bash Shell built-in time keyword.
For an example to measure the firefox command:
/usr/bin/time --format="Size:%MK Cpu:%P Elapsed:%e" firefox &
After using firefox a while, I close it out to get the ...
5
Process Memory
Example of firefox
ps -aux | grep -i firefox
Shows you the pid of firefox process, Then you can use top -p pid
top -p 3845
You can also use ps command, firefox pid is 3845
ps -p 3845 -o %cpu,%mem,cmd
%CPU %MEM CMD
11.1 3.7 /usr/lib/firefox/firefox
The truth is that i am not satisfied with the above mentioned commands, ...
0
You can use GParted Live.
You can resize your partition all you want, just make absolutely sure that your device is plugged in. If the device shuts down during the operation, it could damage the filesystem. I personally make sure I have a full battery and that the device is plugged in. This would save you having to reinstall and configure all over again.
0
backup your data - probably the data in your /home/your_username folder
reinstall Ubuntu; partition your harddisk, choose a GUID-partition table
/dev/sda1: a primary partition of 20 G, with boot flag, ext4 filesystem, where you will mount the root (/) of the filesystem;
an extended partition of 300 Gbyte;
in that extended partition 3 logical partitions:
...
0
By memory do you mean allocated disk space or actual RAM? If you chose 10 I hope you mean 10GB if it's the Partition. I always thought Ubuntu recommended 20 or 40.
Anyway, you can boot a Live CD and use GParted to modify your partitions. This is not without risking your data, though, so you should backup your important files first just to be on the safe ...
2
Have a look at this document by Lorenzo Colitti about analyzing and improving GNOME startup time.
Coletti is not the author of preload. In his document he references to the preload project page on Sourceforge.net.
Basically, there are 2 reasons.
It was a GNOME development. GNOME got unpopular, and as Coletti states in this paper, developers of other ...
4
It probably doesn't need that much RAM.
If I write a program that opens a file with a random filename, writes "Hi there, Moon!", and closes that file cleanly, and repeats that a couple of million times, It would use very little memory, but will take a lot of time.
5
Simply put, Preload isn't for everyone. It is great if you open applications or libraries a lot. It is harmful if you load applications or libraries only occasionally. I will use two examples from my actual usage (and yes I use preload).
First, Google Chrome. Now a browser is opened only once per boot, maybe twice (for me, I am a web developer). Chrome and ...
0
Rum memtest ("Test memory") from the boot menu (or the installation medium) if the first screen reports less than your 4Gb, upgrade (Flash *ROM) your BIOS.
Run sudo lshw to determine the model of your motherboard, then head up to vendor's site and DL tje latest BIOS.
1
The C standard as defined by Kernighan & Ritchie in their book "The C Programming Language" does not define how parameters are passed to functions, not does it define how local variables are stored which leaves it implementation defined.
The documentation for your compiler should tell you how parameters are passed because otherwise you can't write ...
2
I don't think I understand why there's a problem but I think GCC might have something to do with it... Here's a comparison between GCC and Clang.
$ gcc -o test.gcc test.c
$ ./test.gcc
Size a: 4
size b: 4
Address a: 0x7fffeef71488
Address b: 0x7fffeef7148c
$ clang++ -o test.clang test.c
$ ./test.clang
Size a: 4
size b: 4
Address a: 0x7fff664573f8
...
0
try zram (once called compcache), it is a compressed swap in the memory!
the package for ubuntu 12.10 is zram-config, no need to boot.
swapon -s will show something like:
Filename Type Size Used Priority
/dev/sda2 partition 1023860 0 -1
/dev/sdc4 ...
6
Preload is an “adaptive readahead daemon” that runs in the background
of your system, and observes what programs you use most often, caching
them in order to speed up application load time. By using Preload, you
can put unused RAM to good work, and improve the overall performance
of your desktop system.
Don’t expect to see a drastic change in ...
0
Ive seen ram do wierder things. In this case you are prob looking at the video card as the culprit. Possibly the controller. I recently had to add a usb pci card to my machine because the onboard hub has failed.
Top 50 recent answers are included




