Ubuntu :: Cache Hardware Configuration For Faster Boot?

Nov 10, 2010

I am using Ubuntu Maverick on my Eeepc 701, and everything is working quite nicely. Since I only have 4GB SSD drive, my setup is that the LiveCD is booted from the SSD, while my 'casper-rw' partition is on a 4GB SD card. I have 2GB of ram and do not use swap. I am wondering if there is a way to somehow cache the results of the hardware probe and configuration, and insert the cache into LiveCD by remastering it. The idea is that less time will be needed to boot, since everything that was found from the first boot was saved.

Of course this would mean that particular modified LiveCD wouldn't reliably boot on anything other than my system (or one like it), but seeing as how my hardware won't change in the future, it isn't a problem.

Is something like this possible? I'm not afraid of recompiling a kernel or rebuilding an initramfs if needed. A possible alternative idea to accomplish this would be to boot up the vanilla LiveCD as normal, configure a swapfile, hibernate, then inject this swapfile into the LiveCD image.

This way, every boot would automatically just be resuming from hibernation. This could potientally mess with the casper-rw partition, but that is something I would worry about later (and I am not opposed to just eliminating the casper-rw partition altogether and running off ram each boot).

The other problem might be that the swapfile would probably need to be the size of my ram (2GB). Chances are, after a fresh boot my ram will be mostly empty, therefore would it be possible to compress the swapfile (like swapfile.gz)? I will be looking into either alternative, but I was hoping to get some opinions / ideas on how to accomplish this (or whether it has already been done!)

[Code]..

View 4 Replies


ADVERTISEMENT

Debian Configuration :: Can Make Openvpn Faster Like Rsync

Oct 22, 2010

I use openvpn to connect otherwise isolated machines, and use samba to share filesystems across the vpn, which works just fine.But I recently discovered that copying files using rsync -e ssh is so much faster than copying from a mounted filesystem - like about 5 times faster.I've got comp-lzo enabled in both server and the client, at least I think I have, the directive is there in both the server.conf and the client.conf files, but how do I check that it's active?Does anyone know if I can make openvpn behave more like rsync, because copying is easier than rsyncing?

View 8 Replies View Related

Slackware :: How To Boot Faster

May 23, 2011

Is there a way to make the 'loading linux...' Bios Data check faster or disabled? It is taking 3 times longer then the actual boot.

View 2 Replies View Related

Debian Configuration :: Clear DNS Cache ?

Jan 18, 2011

A friend has a website. the site has been moved to another server. I am inside of a private network.

Problem: when trying to reach his website, my browser keeps connecting to the old server which is on another continent

Windows machines have no problem with this. They connect to the new server without issues.

NOW what is hard to understand: even the PING utility is pinging the old server.

I tried these and none works:
- computer restart
- Clear private data in Iceweasel (has ntg to do with PING, but tried...)
- installed nscd and restarted the service
- modified /etc/resolv.conf to point to another nameserver than modified it back

At the same computer, if I reboot and load Windows, the browser has no problem connecting to the new server.

View 8 Replies View Related

Ubuntu :: Boot Faster With Swap As Primary Partition?

May 10, 2010

I was unsatisfied with the 40second boot time of lucid and was searching for a solution for a while but didn't find anything yet. But today I found a way to boot 10seconds quicker.Lucid is installed here as suggested by the installer:

Primary rootpartition (/dev/sda1)
Logical partition (/dev/sda4)
swap (/dev/sda5)

[code]....

View 2 Replies View Related

Ubuntu :: Pared Down Command Line For Faster Boot

Jul 8, 2011

Would be possible to have a dual boot with Ubuntu only loading the things necessary for command line use of emacs?

I thought it might be good to be able to take notes for class on a quickly booting command line. (It has the added benefit of being less distracting)

Does it work like that? Could a pared down command-line only install be sufficiently faster on boot-up? Might another flavour of Linux be more suited to the task?

View 4 Replies View Related

Server :: Very Slow Boot In Ubuntu / Make It Faster?

Dec 3, 2010

I have an Ubuntu Server 10.10 install on a VIA C7 chip. It seems to pause for about 5 min on a USB component.

It is a fresh install, here is a snip from my messages log code...

My KB is USB, so I would rather not disable it if at all possible. The next time I can take it down, I will test disabling it though...

View 4 Replies View Related

Debian Configuration :: Raising The APT Cache Limit?

Nov 4, 2010

When adding repositories, I ran up past the default apt cache limit of 25165824. I found a couple of sources - one that treats apt.conf.d as an individual file, and another that treated it as a folder - which my system does.

Following those guidelines, I went into /etc/apt/apt.conf.d/debconf70 to add a line of code that sets the default to 2x and 4x that limit, and... well, apt doesn't seem to recognize the difference.

Here's the code I added at the end:

So, is there somewhere else that I need to change things? Am I completely off on this? I found a year-old thread on this error in the ubuntu forums, where a gentleman who is now a member of the staff simply suggested to the op "take out that debian repository you listed". It kinda negated the premise for me, you know? I'm kinda hoping there's more that I can do.

View 5 Replies View Related

Hardware :: How To Disable Udev For Faster Boot?

Jan 6, 2010

I am trying to make gentoo boot faster and in my searching I came across this article http://lwn.net/Articles/299483/. One of the things they did was revert to a "persistent, old-school /dev directory so that boot doesn't depend on udev". I would like to know how to do this, but when I searched for disabling udev all the forums say that its a bad idea. All I want to know is how to make a static /dev directory.

View 4 Replies View Related

Debian Configuration :: Trying To Set Up SSD As Cache Drive To External HDD With Bcache

Sep 22, 2015

I'm trying to set up an SSD as a cache to my external HDD (which is where my installation of Debian testing/stretch is installed). My installation is using LVM 2. I'm trying to have the SSD cache the entire external HDD, and not just one of the partitions (such as the root or home partitions).

Here are the relevant outputs.

uname -a: (Yes, I'm using the Debian stable kernel with Debian testing.)

Code: Select all3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux

lsblk:
Code: Select allNAME                              MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                                 8:0    0 149.1G  0 disk 
sdb                                 8:16   0 111.8G  0 disk 
sdc                                 8:32   0 298.1G  0 disk 
├─sdc1                              8:33   0   243M  0 part  /boot
└─sdc5                              8:37   0 297.8G  0 part 
  └─sdb5_crypt                    254:0    0 297.8G  0 crypt
    ├─mydebianhostname--vg-root   254:1    0  14.3G  0 lvm   /
    ├─mydebianhostname--vg-swap_1 254:2    0  11.5G  0 lvm   [SWAP]
    └─mydebianhostname--vg-home   254:3    0   267G  0 lvm   /home
sr0                                11:0    1    25M  0 rom

make-bcache -B /dev/sdc:
Code: Select allCan't open dev /dev/sdc: Device or resource busy

Must I "operate" on this drive via a live session or something.

View 0 Replies View Related

Ubuntu :: How To Make System Boot Faster By Removing Idle Time

Jun 14, 2011

How to make the system boot faster by removing the idle time between 5s to 10s? bootchart attached. It is Ubuntu10.04LTS by the way. One more hint, the screen black out for ~4s after "Begin: Running /scripts/init-bottom... Done." I don't know what is going on during that 4s, but my best guess is there is a way we can get rid of it.
Bootchart can be found here:

View 9 Replies View Related

Hardware :: Ssd Drive Vs Conventional One - Netbook To Boot Faster

Aug 28, 2009

see [URL] I am still somewhat happy with my netbook, although I have a Lenovo X61 from work (with XP) that I just love and since the netbook was purchase for travel, I don't use it as much as I use the x61. But I am preparing for a trip soon and have been trying to get the netbook to boot faster. Default Ubuntu 9.04 was taking about 1m 40s from off to a usable web site. Many tweaks later using the default hardware still, I get boots on average of 1m 10s or so.

I have tried fluxbox and xfce4, but shave maybe 10s off on a good boot, but am then in a much more limited DE, so I don't see the 10s being a good reason to limit myself. Using bootchart, it reports a boot time of ~30 so I really do believe it is gnome/X that is taking the longest time. Anyway...I finally broke down and got an ssd drive from Newegg [URL].

I dd'd the old hdd to the new ssd and guess what? Absolutely no change what so ever to the boot times. The ssd drive (although silent) has not gained me any speed at boot up. My average boot times are still 1m+. Also, I ran a battery test last night (wrote time out to a file every minute and ran totem none stop until the battery died) and I got 2 hours of life out of the 3 cell battery. This is about the same battery life I was getting with the traditional hdd.

In conclusion: As it stands now, the ssd drive has gained me nothing but silence, but at the cost of 100gigs (hdd = 160gig vs ssd = 60g)... no improvement to battery life no improvement to boot times The system does *seem* a little more responsive when the OS is finally up, but again, at what cost?

View 12 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

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

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

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

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

OpenSUSE Hardware :: Disable Drive Write Cache At Boot With Hdparm?

Jul 16, 2010

I'm testing OpenSUSE 11.3 on a server and I'd like to disable the write cache on all of my drives. In Ubuntu Server I was able to accomplish this with hdparm by adding the appropriate settings to /etc/hdparm.conf

As far as I can find the only thing that OpenSUSE offers is /etc/sysconfig/ide which allows you to force particular DMA modes. I could just put the hdparm commands in /etc/init.d/boot.local but I'd prefer to do it the right way if there is a right way to do this in OpenSUSE.

View 2 Replies View Related

Debian Configuration :: Boot Via PXE, "no Default Or Ui Configuration Directive?

Mar 19, 2011

A week ago I opened this thread viewtopic.php?f=17&t=61580 in "Board index ‹ Help ‹ Installation" and asked for a moderator to move this to here. Because it hasnt happened up to know, I am reopening the thread here. It would be reeeeally great if somebody could help me with my problem!

I own two computers, one netbook and one laptop. I want to boot my netbook as a diskless client via PXE.I set up a dhcp-, tftp and nfs-server on my laptop but when i boot my netbook, the follwoing messages are displayed:(to make it more clear, i uploaded the whole output and shortened the output below)

[Code]...

View 1 Replies View Related

Debian Configuration :: Modify Boot Scripts To Boot Usb Device?

Mar 3, 2010

Without going into a lot of the reasons, I have a bootable program on a USB stick that i would like to 'boot' when debian is starting up (or after it completes, or whenever it makes sense to do it). My MB does not support a USB boot, I've removed the floppy and CD so I can add additional HDs (its a small box but well ventilated).

Another option I have is to use my bios 'network boot' option, but I have no clue how to use it and the only description in the mb manual says "Allows system to be booted over a network" In network boots, *usually* one is given an option of specifying a device address, and the network boot executes a boot protocol (e.g. bootp), and the boot image file is downloaded to the target, stored and run out of RAM. No evidence of this behavior is exhibited when the network boot option is selected in the bios...

View 2 Replies View Related

Ubuntu :: Will WinXP 64 Bit Run Faster On 64 Bit?

Apr 26, 2010

I currently have the Ubuntu 32 bit 9.10 installed on my laptop. I wanted to install WinXP 64 bit using VirtualBox. My question is: will WinXP 64 bit run faster on Ubuntu 64 bit than it will run on Ubuntu 32 bit (my current OS)? Is the upgrade from Ubuntu 32 bit to Ubuntu 64 bit worth it for running a virtual Windows XP 64 bit?

View 3 Replies View Related

Ubuntu Installation :: 64-bit Definitely Faster Than 32-bit?

Jun 2, 2010

according to this article i read, its definitely faster. this is what i read: Since 64-bit systems can process twice as many instructions per second as a comparable 32-bit system, 64-bit systems are definitely faster than their 32-bit counterparts. it was from this article link: [URL]... Is this true? I always thought it wouldnt make a difference, besides more memory addressing?

View 9 Replies View Related

Ubuntu :: Which Is Better - More Or Faster Memory

Jul 16, 2010

I put together a p4 that has 3 slots for ddr memory and the specs say maximum memory is 2 G at 400 Mhz or 3 G at 333 Mhz. Now, I assume this means that if you install a third memory stick, it will run at 333 Mhz. Is this right? Which would be better out of curiosity?

View 5 Replies View Related

Ubuntu :: Ripping CDs Faster?

Mar 26, 2011

I am using Ubuntu 10.10 64-Bit Desktop Edition, and I am looking for a faster way to rip CDs, without having to resort to Windows. I try to rip a CD, but it takes 20+ minutes just to get the files copied, then another 5 or so minutes to burn the cd!I have a new SATA interface CD/DVD burner, so I know it is not the hardware.

View 7 Replies View Related

Ubuntu :: How To Make Faster

May 22, 2011

I installed preload, I unchecked all startup applications, I uninstalled programs I wouldn't use. Any other tips for a faster Ubuntu?

View 9 Replies View Related

Ubuntu :: Which Distro Is Faster

May 14, 2010

I am considering installing Linux on my workstation to develop and run fortran codes much faster than windows. I wonder if there is significant speed difference between Linux distros. Especially between Redhat and Ubuntu or Debian. I havent used any Linux distro longer enough to have an idea about its speed while running long codes.

View 5 Replies View Related

Ubuntu :: How To Make It Faster

Aug 14, 2010

I have windows xp professional installed and I have 256 MB RAM and 80 GB hard disk.I installed Ubuntu 10.04 LTS Desktop Edition alongside on windows on a formatted 12 GB C drive(windows on E drive).When I used linux it was very slow but my windows is running smoothly.How can I get normal and smooth speed on linux as I have it on windows.Will removing the windows speed up linux?

View 4 Replies View Related

Ubuntu :: What Can Use For Backups That Is Faster Then Rsync?

May 9, 2010

I am currently backing up my data but find that it takes way to long to do a rsync, it takes forever to just find the differences and transfer them.Out of 3 separate rsyncs the main one that is slow is my www.skins.be mirror directory which is 41GB and has 392,200 files, sorted into multiple directories. Which grows by around 100 every couple days.I think that something that would be able to track changes by inotify time on directories will speed it up since Picasa sure finds the changes fast when I open it and it is tracking over 26,200 pictures. I just don't know of a backup solution that does that.

View 4 Replies View Related

Ubuntu :: Faster Way To Transfer 2 Terabytes

Jul 6, 2010

I need to find a fast way to copy a folder containing about 2 terabytes over my home network to another Ubuntu machine.In the past I have used RSYNC over ssh, but this is far too slow for this much data (probably the ssh encryption overhead slowing things down)I have looked at using SAMBA, but this seems geared for a mixed Linux/Windows network. Also I don't know if SAMBA will be appreciably faster.

View 4 Replies View Related

Ubuntu :: How To Make Nautilus Faster

Jul 12, 2010

One of the most common tasks I perform is browsing for files. I have always wanted my file manager to be lightning fast. That is, I open it and it loads directories instantly. No waiting, just opening them right away. This remained always a wish, as in Windows and Ubuntu on a variety of machines I always see that it takes a little while for the program to load directories. I am not talking about folders with thousands of files or anything special. However, I have seen others who have Windows (XP in this case), and their Explorer opens right away. Browsing folders is very much instant.

Is there any way to achieve the same in Nautilus? The other computer is not very modern or super fast, at all.

I have a laptop with SSD drive which I hoped would speed up this process, but this is not the case. On both my laptop and desktop I often see the 'loading' symbol, and files often appear after the folder view has opened (they just appear all of a sudden). This happens with folders I rarely visit but also with folders I often open.

How are others' experiences? Can Nautilus be instant? Is this a configuration tweak or hardware issue?

View 4 Replies View Related







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