General :: Access Time For Ramdisk Is Not As Fast As Expected?

Feb 18, 2010

I am trying to use the Linux Ramdisk y machine and followed the instructions oninux/Ramdisk/ramdisk.html to create a 4GB ramdisk (total memory is 8GB, linux 2.6.9)The issue is that it is taking me almost exactly the same time to read a 1GB file from ramdisk as it is from disk. I was expecting it to be atleast twice as fast.Has anyone encountered this before?

View 1 Replies


ADVERTISEMENT

Debian :: Initial Ramdisk Freeze - One Time Yes And One Time No

Jan 13, 2016

I have a strange problem on my new installation of Debian "Stretch".

After "loading initial ramdisk" the pc freeze, but if I reboot it, then it doesn't freeze and so I could work.

So for work each time I have to boot and reboot the pc; the second time the pc works.

View 1 Replies View Related

Debian Configuration :: Create A Ramdisk At Boot Time?

Jun 1, 2011

On Debian Etch I used to understand how to change boot kernel parameters with Grub. You could just edit menu.lst.

With the newer Grub in Squeeze I am without a clue! I want to set up a ramdisk, say 128 Megs in size, and add that to my boot parameters so that it is created every time the machine starts. Do I set something in /etc/default/grub ?

View 3 Replies View Related

Programming :: Sockets - P2 - P3 Http Connection Taking More Time Than The Expected?

Mar 31, 2011

Iam using socket programming in one of my problem. The scenario is like this.

=>one module is working as a socket server(process p1) is able to handle client sockets on that port.
=>one module is working as socket client (process p2) is connected to server socket and Tx/Rx data on this socket. This module has some more threads, based on received data from server socket it will connect to http on other thread and get information...
=>one more module is working as socket client (process p3) is also connected to server socket and doing some other transactions.

Here my problem is when in presence of p2, p3 http connection taking more time than the expected. If we wont start p3(means only one server-client socket) then http connection is fast enough.

View 1 Replies View Related

Programming :: Bash Time Comparison Within A Fast Moving Log?

Jun 1, 2010

I have a bash script that is tracking ERROR connections (running in a cron every 15 minutes), sometimes the errors are true and are not connecting. But most of the time, the disconnects/reconnects are between 30 seconds are sending out false positives. I am looking for a time comparison code to pick out the 30 second disconnects and know that this is and "ok" error. Here is a section of the log with timestamps, errors, etc.

Tue 2010-06-01 22:01:30 ERROR [DataBufferSendService] 172.31.0.1:8016 caught exception: [NetworkAPI] Exception: [SocketStream] socket error
Tue 2010-06-01 22:01:32 ERROR [DataBufferSendService] 172.31.0.2:8016 caught exception: [NetworkAPI] Exception: [SocketStream] socket error
Tue 2010-06-01 22:02:00 INFO [Client] 172.31.0.1:8016 connecting to 172.31.0.1 on port 8016
Tue 2010-06-01 22:02:02 INFO [Client] 172.31.0.2:8016 connecting to 172.31.0.2 on port 8016

View 8 Replies View Related

Ubuntu Networking :: Fast CLI File Transfer Solution With Time Preservation?

Mar 4, 2011

I use basic ssh and scp on a regular basis and sometimes for file transfer... certainly over public networks. However, often I want to transfer large (several GB) files from one place on my LAN to another.

I've read that FTP is the fastest, and when I'm transfering many GB, fast matters. Of course I know it's not secure, but I don't need security on my home wired LAN. What I do need many times is preservation of date and time of each file when uploading. Filezilla does that and I use it, but sometimes I need a CLI solution. I have use ncFTP and been happy with it until I realized it doesn't preserve date and time on uploads (probably not on downloads either, haven't looked).

Is there a CLI FTP solution out there that will preserve file date and time information on file transfers (including uploads)?

View 3 Replies View Related

Installation :: Running SLAX From RAM (Fast Access To Data)

May 14, 2009

Before the other day, I'd copied a live CD to ramdisk and run it from there before, but the disk was INX (INX is not X), a live CD based on Ubuntu that runs entirely in the text mode, no GUI. INX is a terrific product: colorful, educational, light, agile, fun to use, and and often damned useful, but when an OS only uses text, you may not notice how much running from the RAM speeds up an OS. Previously, I'd assumed that the best reason to run a Live CD from the RAM was to free up the CD ROM drive. When I started running a full KDE 3.5.10 Desktop from the RAM, it didn't take me long to notice the awesome boost in speed and performance.

The computer has the fastest access to the data that's in the RAM. (The "A" in "RAM" stands for "access", right?) So the machine is faster. As the RAM gets larger, I'm sure more and more live CDs are going to offer the RAMdisk option. Right now both INX and SLAX share the characteristic of being exceptionally small CDs, and that makes them well suited for this kind of application. The "minimal" version of Slax, the basic CD without any modules added, is less than 200 mbs, which fits very nicely on my 1024MB RAM. I now use the minimal SLAX cd to initiate the system, and I keep a collection of the modules on my hard drive to copy to the RAM and activate at will.

Here's a couple of screenshots: [URL] I'm using Wine here to run my one and only favorite Windows program, a text to speech program called READ PLEASE. Note that I am also running KTorrent, which is uploading from and downloading to my external MyBook hard drive. [URL]. Here's a shot of yakuake, which is sort of like Konsole with superpowers. I just upgraded my hard drive KDE system to 4.2.3, and they still haven't fixed Yakuake yet. I know it's been reported, so I'm sure it'll be taken care of.

View 5 Replies View Related

General :: Command - List Only Access Time And File Name?

Mar 19, 2010

How do I list only access time and file name? For example if I do ls -l --sort=time then

[Code]...

View 5 Replies View Related

General :: Keeping A RAMdisk Out Of Swap

Dec 15, 2010

I'm using some milters on a Sendmail box that recommends using a RAMdisk [tmpfs] to store temporary files, the performance benefits of which are quite noticeable. However, the problem is if a huge number of messages are all delivered at once this partition can be pushed off the physical memory and into swap. When this happens the performance tanks to about 1/20th to 1/30th of normal.Is there anything I can do to keep a tempfs from being swapped to disk?

View 3 Replies View Related

General :: Can't Find RAMDISK Initialized

Sep 30, 2010

I am trying to config the RAM disk on CentOS 5.5

/etc/grub.conf
title CentOS (2.6.18-194.el5)
root (hd0,0)

[code].....

View 2 Replies View Related

General :: Booting Fedora Using Initial Ramdisk?

Mar 12, 2010

I am using fc11(32-bit) and i want to boot the system using initial ramdisk by setting the root to /dev/ram in the /etc/grub.conf.c

View 2 Replies View Related

General :: Can't Get Ubuntu 11.04 To Load Crashing At Initial Ramdisk / Sort It?

Jun 28, 2011

I'm running 64 bit ubuntu 11.04, installed off dvd onto dell inspiron 530 if thats helpful.
This is my first attempt at linux ever so i know absolutely NOTHING about it.

View 9 Replies View Related

Fedora :: How To Access Time Using <time.h>

Sep 27, 2010

how to access current date and time from the system through CMOS in C programmes in Fedora.

View 1 Replies View Related

General :: Awk Does Not Print The Value Of The Variable As Expected

Apr 4, 2011

I have this simple awk program but it not prints var_cab whe^E or ^S or ^M after he finds the second ^C

/^C/ { var_cab = substr($0,1,28); ent = 0 ; print "estoy en cabecera" var_cab;}
/^E/ { if ( ent ==0 ) var_fech = substr($0,4,8) ; ent ++;
print var_cab var_fech $0; }
/^S/ { print var_cab var_fech $0; }
/^M/ { print var_cab var_fech $0; }
END { print var_cab,ent}

the input file is many lines like this, every new block stats with ^CAB

CABES3000088888880000007EAMB
ENT20090706D060709-888 0028560000000012VALLE CA'ZULIA5501, 5502, 5498 y 5535
SAL201008250000134900000321V1202935-MU

[code]....

View 4 Replies View Related

Ubuntu Networking :: Wifi Is Fast Then Slow Then Fast Then Slow Connect Disconnect ?

May 7, 2010

My wireless seems to be fast for a good 30secs then bang takes good while to load the next page almost as if it's disconnecting and then reconnecting/scanning reconnecting. Why cant it stay connected. I have WAP PSK security here is my network setting please let me know if I should change any of them:(side not is there a way to fix this problem occuring so frequently it says on the wiki that it should only occur once in a whilce https:[url].....

View 2 Replies View Related

General :: Locale Adjustment Not Working As Expected?

May 13, 2011

On Slackware64 13.1 the as-installed en_GB locale gave Sunday as the first day of the week. This was not an issue until Xfce's Orage calendar was used when its display of Sunday as the first day of the week was offputting for someone used to Monday. A minor inconvenience but expected to be easy to fix.

At the command line:
Code:
c@CW8:~$ export LANG=en_GB <== same for en_GB.utf8

[code]....

View 2 Replies View Related

General :: Bareword Found Where Operator Expected?

Oct 14, 2010

$dec93 = 93;
$ser = SERVO;
$lbit = uc(sprintf("%02x
", $dec93));
if($lbit == 5D){
print DATA "Byte11: $fbits11=$bstr11 Bits:[95-88] $ser
";
}else{
sleep(1);
}

Why do I get this error? Bareword found where operator expected at C:Perl ScriptsLbits.pl line 64, near "5D" (Missing operator before D?)

View 2 Replies View Related

General :: Bulk File Rename Not Working As Expected?

Jun 25, 2011

Y want to rename a bunch of files and directories to remove the space on the names, easy enough right?

Code:
for source in $(find ./); do target=$(echo "$source"|sed -e 's/ /_/g'); mv -f "$source" $target; done

Well, I thought that should have work but the problem is that $source comes up broken, when I run it with echo instead of mv I get the echo with broken names.

Code:
In this case "$source"="This is the file I want to rename"
$ echo "$source"

[Code]....

View 3 Replies View Related

General :: Line 11: Error: Expected ':', ',', '','}' Or '_attribute_' Before '}' Token?

Feb 2, 2010

I worte some code, but I got error for complier.

Code is :
#include <stdio.h>
#include <stdlib.h>

[code]...

View 4 Replies View Related

General :: ...c++/4.1.2/bits/vector.tcc:452: Error: Expected Unqualified-id Before (token

Dec 10, 2010

I am trying to install NS-2.1b9a in Fedora 8.0. I have already installed gcc-3.3 and made new link to the newly installed gcc. I used patch made for NS-2.1b9a (found in [URL]...-8-ubuntu.html) to install in Fedora 8.0. Now, when I run ./install I get follwoing error.

[Code]..

View 2 Replies View Related

General :: Monitor Not Working As Expected With LiveDistros - Screen Is Totally Dead ?

Feb 27, 2010

I have an Acer Aspire 6930g with an nVidia GeForce 9300m GS which has a broken screen. I have been using an external monitor for some time using Linux Mint, without issue.

I initially set this up with great difficulty using the small parts of the screen that would still display an image at the time. Now, however the screen is totally dead, I have since disconnected the laptop monitor in order to not cause issues.

The issue I am currently having is trying to use live distros.

I'll give you example: I boot ubuntu 9.10 32bit and it gets to the initial boot menu. I choose "Try Ubuntu..." It shows the loading screen. Screen goes blank when going to desktop

I tried Ctrl+Alt+F1 to get to a terminal, but the screen stays blank. The same thing happens with both Knoppix and Backtrack 4 as well. The display goes blank upon switching to the desktop.

View 2 Replies View Related

OpenSUSE Install :: Respawning Too Fast - Error: "Respawning Too Fast - Disabled For 5 Min" Freeze

Dec 12, 2009

Installing 11.2 from KDE LiveCD on an IBM ThinkCenter with 3.2Gb CPU and 1Gb RAM. Ubuntu 9.04 on first two partitions. I go through the configuration, click to 'install': Install display bars remain blank. After 2-3 minutes, black screen with scroll of attempted installation pieces and the error message: "Respawning too fast. Disabled for 5 min." Freeze.

Other posts mention problem with init. But this is happening with the install so not able to address that. No apparent md5chksum for LiveCDs. No mention of this problem in installation help guide. Does anyone know how to deal with this? If you need more info, I will provide. Though it seems this is not an unusual problem when booting an installed system, there's no mention of it happening during installation.

View 6 Replies View Related

General :: Fast Change Directory For The Cli?

Jun 29, 2010

In the old days of M$-DOS, there was the NCD (Norton Change Directory) utility. Anything of the sort in Linux?Explanatory note: you typed out the name of the directory you wanted to go to, that is, last element of the dir path.And you were, ipso facto, in that dir. If that was the only one by that name, good. When not, and if that wasn't the intended dir, you typed the same command again and you were in a second dir of that name. If this was the intended dir, good. And so on. It simply maintained a data base with the whole tree, and updated it when invoked from a newly created dir o by means of an option, NCD/R.

View 14 Replies View Related

General :: Fast Way To Become Master In System?

Nov 5, 2010

I came across Linux in university syllabus and quite loved it.Hope I will get to learn here Linux. How to become master in Linux can some body suggest some fast ways to do the same?I want to learn Linux Very fast.

View 14 Replies View Related

General :: SH: Erasing Fast A Cdrom ?

Jun 23, 2011

To do that:

Code:

But -blank=fast makes it really faster? Visibly not so much, right?

View 3 Replies View Related

General :: Get A Fast Free Unix Native On A Mac Pro?

Oct 22, 2010

I am interested in running Linux on my Mac Pro (8-core, 24 GB RAM).

What are the main caveats one should expect? Can all hardware be used natively after booting, say Linux or FreebSD?
Does Solaris run on this type of machine?

My use case is mostly Mail, instant messaging, web browsing and network simulation (hence this machine) and I value interactivity under full system load the most. How is interactivity under full load in Linux? My experiences with Debian "lenny" showed delays when task switching of up to 1.5 seconds. May I should look at FreeBSD?

View 3 Replies View Related

General :: Command Line - Looking For A Fast CLI Distro?

Apr 26, 2011

I'm looking for a fast Linux distro to put on a USB key. The goal is to be able to boot in as few seconds as possible, with just enough to mount a hard drive and do some basic operations in there (bash would be enough).

I do need:
x86 and x86_64 support
EXT2/3 and NTFS mounting capabilities (read & write)

Networking support (/etc/network/ config is fine, no need for detection) Bash (another shell would also work, but I would have to modify some of my scripts I would prefer if I didn't to have to build these programs for the selected distro, but that's always an option. I do not need:

X, or any form of GUI
more languages (english is enough)
anything not mentioned

I don't care about the size on the USB key, but the bigger it is, the longer it will take to load. My research pointed me towards these distros, but I not sure which one to choose:

ttylinux
Tiny Core Linux
tomsrtbt (doesn't look maintained anymore)

I also found these tools I could use to build my own distro (as a last resort)

View 6 Replies View Related

General :: Choosing A Fast And Powerful Distro?

Feb 4, 2011

I've been using linux for a while (various distros) but somehow they dissapointed me. I know what I'm looking for, a lightweight, fast, minimalist but customizable enough, with no specific graphical environment, bleeding edge distro for a new laptop (used for studying and surfing internet), that hopefully works with my hardware.

I want to have the possibility to compile from source to make my own changes but also to install from binaries easily. I'm not a linux expert, not even an advanced user but I'm willing to learn anything to get my distro running so I'm not looking for a full out of the box distro. It would be great if this distro also had a good community.

View 4 Replies View Related

General :: Measure How Fast Computer Boots Up

Jan 5, 2010

I just wanted to glean some sort of a general average and compare my system with everyones. post your computers:boot time of course hardware specifications (processor, HDD, RAM, etc.) distribution if it's a laptop or desktop (or a netbook ) Mine is 43 seconds, running Ubuntu 9.10 on a netbook. My hardware specs: Intel Atom 1.6 GHz 320 GB 7200 rpm HDD 2 GB RAM

View 14 Replies View Related

General :: Fast Copying Data From One Location To Other?

Apr 6, 2010

Is there any windows equivalent tools (like tera copy, Fast copy in windows) for linux for fast copying data from one location to other?

View 1 Replies View Related







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