General :: Unit Of Cache Swapping Called Line?

Oct 1, 2010

Need reasons why the unit of cache swapping is called a line rather than a page ?

View 4 Replies


ADVERTISEMENT

Software :: Redirecting APT Cache - Can Redirect Cache Of Apt To A Specified Folder Either On Command Line Or Via A Config Setting?

Jan 5, 2011

I was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.

Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).

I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?

View 2 Replies View Related

General :: PCI Cache Line Size Set Incorrectly (64 Bytes) By BIOS/FW

Nov 24, 2010

I have AMD Phenom 8550 triple code processor, with 2.20ghz speed and 4gb ram. I am trying to install Redhat linux 9 first time. I am new to linux. While install system hangs with message

ehci-hcd 00:13.2: PCI device 1002:4396
echi-hcd 00:13.2: irq 10, pci mem f880f800
usb.c: new usb bus registered, assigned bus number 2
PCI:00:13.2 PCI cache line size set incorrectly (64 bytes) by BIOS/FW" expecting 16

how to get rid of this message

View 9 Replies View Related

Programming :: Using Command-line Options With A Program That's Called Using Env

Oct 11, 2010

I thought about this a while ago when reading through a Python tutorial and I googled some and couldn't find an answer. Now I want to know it for Ruby, also, and it's more important now because I want to invoke Ruby with -w.

How can you use:

Code:

with a -w option to ruby, like:

Code:

This doesn't work and I can't find an explanation of how to do it.

Code:

View 1 Replies View Related

General :: Difference Between Hardware Cache And Slab Cache?

Nov 22, 2010

I am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?

View 2 Replies View Related

Programming :: Destructor Called On Objects In Deque Without It Being Called Explicitly

Jul 13, 2011

I feel there's a bit of a misunderstanding going on between C++ and me...My problem is that I have a deque of pointers to a class, and create objects then add them to the deque in a for loop. However, the destructor is called on the object as soon as the loop quits.

Code:

This prints:

Code:

Now, if I change the deque from deque<Test*> to deque<Test> then it works fine - I get:

Code:

However, I can't do this with my actual code, because I am creating a deque of pointers to an abstract class, so it won't let me instantiate the class. (This is all so that I can take advantage of polymorphism, and call functions on a set of similar objects without worrying what type of object I'm dealing with).

So, I suppose my question is: what is the correct way to create that deque of pointers to the abstract class? I don't seem to be barking up the right tree currently.

View 4 Replies View Related

General :: Changing The Power Supply Unit And The Distros?

May 3, 2010

I have installed on my computer Solaris10 (64bit version), PCBSD8 (64bit) on 2 primary partitions and 7 Linux distributions (Redhat,Debian,OpenSuse,Fedora,LinuxMint,Slackware,Ubuntu) on the extended partition. I know this might be a stupid question, but here it goes: I have a problem with my actual power supply unit (the fan doesn't work as it should) and I will change it soon. Is there a problem with any of the Linux distributions if I change my power supply unit? I mean, will the Linux operating systems work properly with a new power supply unit or do I have to reinstall all Linux distributions?

View 4 Replies View Related

General :: Data On Disk Drive Management By OS - Getting Base I/O Unit Size?

Mar 31, 2010

I want to ensure I have done all I can to configure a system's disks for serious database use. The three areas I know of (any others?) to be concerned about are: I/O size: The database engine and disk's native size should either match, or the database's native I/O size should be a multiple of the disk's native I/O size. DMA: Disks that are capable of Direct Memory Access (eg. IDE) should be configured for it.
Write-caching: When a disk says it has written data persistently, it must be so! No keeping it in cache and lying about it.

I have been looking for information on how to ensure these are so for CentOS and Ubuntu, but can't seem to find anything at all. I want to be able to check these things and change them if needed. The actual hardware involved is very modest. The point is to get the most out of what hardware we do have, even though it's "not very serious hardware" from a broader perspective.

View 1 Replies View Related

General :: Looking For Tools To Analyze Code Complexity / Unit Testing For Embedded

Sep 11, 2010

I am looking for tools for static/dynamic code analysis for embedded Linux system development (both device driver and user space apps) with ARM-based processor. We use Eclipse IDE and C++ lanuage for development. Does anybody have recommendation for tools to analyze code complexity? The tools is better to support McCabe complexity metric, however, we may also consider others. Does anybody have recommendation for unit testing?

View 1 Replies View Related

General :: How To Prevent VNC From Swapping HD

Apr 6, 2010

Actually I'm not sure that it's swapping like mad: I've done more testing and it looks like there may some interference causing the noise that may be correlating with network usage. I'm accessing a MacMini (with MacOS X 10.4) from my Linux machine using VNC. My Linux machine has 4 GB of ram and I run a lot of various apps on it and I've got no issue at all. It's all snappy and don't hear the hard disk swapping/read/writing too often. Now with VNC, the hard disk is swapping like mad. When I'm moving things on the OS X desktop. So I was thinking of creating a ramdisk and forcing the temp VNC files to go into that ramdisk but the problem is I can't find any temp files.

I've attempted to do that:
#!/bin/bash
while [ true ]
do
lsof | grep vnc
done

The VNC version I'm using is this one:
$ vncviewer -version
VNC Viewer Free Edition 4.1.1 for X - built Jan 30 2009 19:33:16
Copyright (C) 2002-2005 RealVNC Ltd.
No matter how much data is coming from the Mac, there should be plenty of memory (4 GB of ram) so there's really no reason to swap like crazy.

View 1 Replies View Related

General :: How To Prevent A Specific Program From Swapping

Feb 9, 2011

Is it possible to prevent a specific program (i.e. rhythmbox and its dependencies) from ever swapping to disk?I'm asking because I have a problem when a music player hiccups whenever Chromium hogs too much memory. Is there a way to work around this? This isn't a problem in Windows anymore so presumably there is a way.

View 3 Replies View Related

Fedora :: Error: Caching Enabled But No Local Cache Of //var/cache/yum/updates-newkey

Sep 24, 2009

I don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?

Quote:

Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey

I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.

View 12 Replies View Related

Server :: Squid Cache System - Make It Cache All Files Like .exe .mp3 .avi

Mar 6, 2011

I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid

View 1 Replies View Related

Ubuntu :: No Unit Desktop After Upgrading From 10 To 11.04?

May 3, 2011

When I was using Ubunutu 10, I updated the ATI drivers from their web site and the installation failed. There is no uninstall for it that actually works. So, very annoyed, I switched to the VESA driver by editing xorg.conf as shown below.

I just upgraded from Ubuntu 10 to 11.04 and when it booted up it told me that I do not have hardware to run the Unity desktop. Even on a restart the login menu shows the selected desktop as "Ubuntu" (no classic or anything though my desktop looks just like it did in Ubuntu 10).

After upgrading to Ubuntu 11 it seems to have switched to a proprietary ATI graphics driver which actually seems to work very well. Except, no Unity desktop.

If I click System, Administration, Additional drivers it shows one driver and says that it is enabled and in use. The driver is "ATI/AMD proprietary FGLRX graphics driver" and in the description it says "3D-accelerated proprietary graphics driver for ATI cards".

Is there a way to explicitly turn on Unity or ask it why it doesnt want to run?

lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Redwood [Radeon HD 5670]
$ /usr/lib/nux/unity_support_test -p
Segmentation fault

I do not really care which driver I use. I have been told there is a new driver included in Ubuntu 11 that supports my video card. Is that the driver I listed above or is thee another that I can activate somehow. What shall I do? I just want Unity to work.

Try disable this driver? Will it automatically pick up some default? Do I have to delete or do something to xorg.conf as well?

Is there a way to tell Ubuntu "forget whatever video card driver or configuration is in place and go back to the default for a new install"? I have tried "dpkg-reconfigure xserver-xorg" but all it does is ask for a password and then does nothing. Everyone says to run this buts its never done anything for me.

/etc/X11$ cat xorg.conf
Section "Device"
Identifier"Configured Video Device"
Driver"vesa"

[Code]....

View 1 Replies View Related

Ubuntu :: Smallest Unit Of Working OS?

Jul 6, 2011

I'm wondering what the least err unit/ units are for a working Linux. For instance. Is a kernel + a window manager enough? Then let's say you install one app on top of that - now you have one app you can use, right? But is that right (kernel + window manager)? Do you even need a window manager for a functioning system? Do you need more than the window manager?I'm asking because I'm fixing to build something from the ground up but it isn't a regular Linux thing and I want to approach if from the direction of adding just what I need not taking away what I don't.

View 9 Replies View Related

Software :: Http Unit Testing In C Or C++??

Nov 24, 2009

I have searched the web for a http unit testing library written in C or C++, to no avail. Does such a library exist?

View 2 Replies View Related

General :: The Directory Would Not Exist Until 'mv' Has Been Called As In?

Jul 3, 2011

I want to copy a file from an old directory to a new directory and ideally I would like that the 'mv' command itself could create the directory for me in one step...That is to say that the directory would not exist until 'mv' has been called as in:Code:mv olddirectory/file.dat newdirectory/file.datso mv would create the directory 'newdirectory' in the above call....I am not sure if this is possible however, that is to say I think it may be necessary that the directory 'newdirectory' already exists before I make the above call to mv, as when I make try the above call when 'newdirectory' doesn't exist I get the following error:Quote:mv: cannot move `test1/4215/4215-001R.fit' to `test2/test.fit': No such file or directoryso to sum up, my question is:is there some paramater for 'mv' that I can change so that it will create the new directory as well as copy the file and if not, are there other commands that might do this?

View 3 Replies View Related

General :: Pset Profile To Be Called Only Once?

Mar 24, 2010

Profile is getting called twice for every login change. Interestingly when i use SU, it is invoked once only. how to set profile to be called only once.

View 3 Replies View Related

Hardware :: Fanless Power Supply Unit ?

Jan 15, 2011

Does anyone had any experience with fanless, low-powered power supply units (PSUs)like PicoPSU? Please share your experience.

I am also interested to hear about experience concerning the fanless cooling solutions and/or power-scaling for low-end CPUs like Intel's Atom, AMD's Neo or Via's Nano.

View 13 Replies View Related

General :: Noticed There Was Two Files Called Passwd?

Jun 18, 2010

I was looking around the files in /etc/ to see what they were and what they said, then I noticed there was two files called passwd, which confused me a lot for a second then I noticed one of them was actually passwd-.I compared them and they only differed by one line:
< games:36:35:added by portage for gemrb:/usr/games:/bin/bash, which was in passwd but not passwd-.Should these files both exist? If yes, why, what does having both do? If no, then its safe to say I can just delete passwd-

View 2 Replies View Related

General :: What Is It Called When You Move A PDF Window While It Is Loading

May 18, 2010

1. What is it called when you move a PDF window while it is loading and the window manager does not keep up with the image, (it gets all blurry when the window is moved?)Why does this happen?

2. Why is it that when a browser window is clicked to load a new address it won't always go to it. It has to be clicked again.

3 Why is it that sometimes IE is the only browser that will work on XP. FireFox and Opera will not load a page but IE will.

4 Why is it that Firefox on Linux sometimes everything inside the window is slow to appear. It has to be closed to fix it. When the contents does appear it is all at once.

5.Why is printing different things on Linux a problem. I have a lot of inconsistency with trying to print things from Evince. Some docs print and some won't. Copying and pasting is also a problem for Evince.Why?

6. Is there a way to have Linux Shut down after computer activity has stopped and not just with a timer. Lets say I'm trying to download something and I want it to turn off after it has finished with the down load.

7. Why are some Web pages biased towards Windows. I notice that some java scripts will only run right on Windows machines with IE. A lot of on-line forms are like this.

8. Can (MOVIES, PICTURES AND MUSIC) torrents be downloaded on Linux without risk?

9. It seams that Linux browsers do not keep previous web pages in memory so if you want to go back Linux always has to reload them from the server. Why is this?

10. Why is it that browsers sometimes won't indicate that the page has finished loading, "ever".

11. Why does Linux turn on the number-lock when loading its self?

12. Why can't the brightness be adjusted in Totem? There is a menu to change it but it does not work.

View 1 Replies View Related

General :: Stop A Function Called In A Script?

Sep 30, 2010

I made the following script:

Code:
#!/bin/bash
logErrors(){exec 2>/tmp/errorlogfifowhile truedocat /tmp/errorlogfifo |echo $(date "+[%Y-%m-%d %H:%m:%S]") Error: >/var/log/error.logdone}
logErrors
ls inexistentFile
exit 0

If I execute the script I see the formated error message in /var/log/error.log, as to be expected. After the script execution, I hoped "logErrors" was not executing anymore, but when, in another terminal, I call "echo something > /tmp/errorlogfifo", I still see the formated error message "something" in "/var/log/error.log". How can I finalize "logErrors" before the script ends? Or, maybe someone knows a better way to format and log the erros in a script.

I forgot to say that the file "/tmp/errorlogfifo" is a named pipe created by the command "mkfifo /tmp/errorlogfifo".

View 8 Replies View Related

General :: How To Find Out Which Shell Script Called

Dec 6, 2010

I have two shell scripts:

sh1.sh
echo "First script"
echo "Now calling second one"
sh2.sh
sh2.sh
echo "Second script"

In this shell script, I want to print out which shell script called this. In this case, sh1.sh called sh2.sh. So, I want to print out "sh1.sh".How to achieve?

View 1 Replies View Related

General :: Exactly Which Files Are Called When I Login Into Server ?

May 11, 2011

Exactly what sequence of files are called as in the .my_profile,.profile,.vimrc,.vim. These are few files that I are there on the server. I want to know which file is called first and what sequence. Also can you point me to some links that tell exactly what are these files for.

View 1 Replies View Related

Ubuntu :: Kept Getting "gtk-update-icon-cache: The Generated Cache Was Invalid" Fault

Feb 17, 2010

i was looking for a way to stop my menus taking a few seconds to load my icons when i first open them and found a few guides suggesting using the gtk-upate-icon-cache command, but with the any colour you like icon theme i'm using (stored in my home folder .icons directory) i kept getting a "gtk-update-icon-cache: The generated cache was invalid." fault i used the inbuilt facility in the acyl script to copy the icons to the usr/share/icons directory and tried the command again, this time using sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/ACYL_Icon_Theme_0.8.1/ but i still get the same error. i tried with several of the custom icon themes i've installed and only 1 of the first 7 or 8 i tried successfully created the cache.

View 4 Replies View Related

Fedora :: NFS Hangs With A 13 Client To A Thecus N7700 NAS Unit

Jun 16, 2010

We're seeing NFS hangs with a Fedora 13 client to a Thecus N7700 NAS unit. /etc/fstab entry for the mount is pure default. Sometimes, the hang ups freeze the Fedora client and it has to be power-cycled to reboot it.

View 4 Replies View Related

Programming :: Getting Information From Serial Port On Server Unit

Jul 19, 2011

I'm working on program that is going through setting different baud rates onto a config file. After I set a new value i want to check if it's the correct one by reading from the serial port on the server unit. I know what to expect if it's the correct baud rate so that's no problem, but searching through the internett i've yet to find a compact solution to my problem.

View 1 Replies View Related

General :: Ubuntu Init.d Script Not Being Called On Startup

Oct 29, 2010

I've got a script in ubuntu 9.04 in init.d that I've set to run on start on with update-rc.d using update-rc.d init_test defaults 99. All of the symlinks are there and the permissions appear to be correct

-rwxr-xr-x 1 root root 642 2010-10-28 16:44 init_test
mike@xxxxxxxxxx:~$ find /etc -name S99* | grep init_test
find: /etc/rc5.d/S99init_test

[code]....

The script runs through source and ./ without issue and behaves correctly. Here is the source of the script:

#!/bin/bash
### BEGIN INIT INFO
# Provides: init test script

[code]....

When the machine starts, I don't see "script called" or "start called" in the test.log at all.

View 1 Replies View Related

General :: Download A Visual Novel Called Wanko To Kurasou?

Dec 29, 2010

I've been trying to download a visual novel called wanko to kurasou, my laptop doesnt have a disk drive so i have to download it. i found something called 'onsrcipt' but it only works for certain games, do i need a windows emulator or something.

View 2 Replies View Related

General :: Program Called Keyboard Jedi / Equivalent For System?

Feb 21, 2011

In windows there is a program called keyboard jedi that shows what keys are pressed on the keyboard. is there an equivalent for linux?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved