Sponsored Content
Top Forums Programming how to make application run fast Post 302319588 by yanglei_fage on Monday 25th of May 2009 10:52:34 PM
Old 05-25-2009
how to make application run fast

I do some try on one application to know how to fasten a application

root@localhost:/tmpfs> ./pbzip2 -p2 -f -k libc5.cvs.tar
Average Time:22.578 Min Time:22.542 Max Time:22.594

First: I need to say my setting:
using tmpfs: mount -t tmpfs -o size=200m,nr_inodes=10k,mode=777 tmpfs /tmpfs
all the application need to run is located in tmpfs



I do some try below:
1. compile the pbzip2 with -o3,---->can't improve obviously
2. stop some service----- can't improve obviously
3.nice -5 (or more than5 ) ./pbzip2 -p2 -f -k libc5.cvs.tar can't improve obviously

Is there some other method ???
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to run an application installed in another unix pc?

Do you guys have any suggestions? hpterm -e rlogin <another unix pc> ??? (1 Reply)
Discussion started by: jehrome_rando
1 Replies

2. UNIX for Advanced & Expert Users

Application to run on ports

I do not have much idea about ports. How can i make an application(written in C) to run on a specific port ? Does the code internally written in C says about port number where the application to run ? Can i make an application to select port dynamically which are closed(other than standard... (3 Replies)
Discussion started by: shafi2all
3 Replies

3. AIX

Can I make application for AIX while working on Linux Box

Hi all, I had a large application created using Visual C++. I ported that application using WINE to the Linux platform (ofcourse x86). Now I have to port the same application to AIX which runs over IBM mainframe. I dont have mainframe available but it is required for me to port my application to... (1 Reply)
Discussion started by: noble_curious
1 Replies

4. Shell Programming and Scripting

Doubt with How to run an application automatically?

Dear sir, I want to know if i shut-down my system and while starting it next time automatically one application starts running, Is there any way? I an using Suse linux OS. PLz Help me! (4 Replies)
Discussion started by: salil2012
4 Replies

5. Shell Programming and Scripting

Make script that run with argument if not run from configuration file argument

Hello, Is there any method thorugh which script can take argument if pass otherwise if argument doesn't pass then it takes the argument from the configuration file i.e I am workiing on a script which will run through crontab and the script will chekout the code ,zip and copy to the... (3 Replies)
Discussion started by: rohit22hamirpur
3 Replies

6. Shell Programming and Scripting

Run application at startup

We have a Windows Service written in C# ported over to linux using Mono Develop... The code is working 100% when we run a script file which runs the exe... but we want the application to run at startup.... The application gathers info of the computer eg. Hard Disk Space etc... And compress it into... (1 Reply)
Discussion started by: yodzaan
1 Replies

7. UNIX for Dummies Questions & Answers

Run C# .NET Application in Unix

I have an application I wrote that is designed to run on a windows system but now starting to think I would rather be using Unix. Would the application have to be 100% rewritten to work on unix, or is there something I could install that would allow me to run my .NET application inside unix? (2 Replies)
Discussion started by: redbrad0
2 Replies

8. Shell Programming and Scripting

Unable to run application using ssh

I'm testing a C++ based application (HLR) in my solaris system. Whenever i start the application remotely from some other solaris server using ssh command the application throws an error and goes down. command i used: ssh root@192.168.151.77 "./start_hlr.sh" Below is the error observed : ... (1 Reply)
Discussion started by: Arun_Linux
1 Replies

9. Debian

How to run windows application in Ubuntu?

HI ! all I have some model which works fine in windows 7 OS with matlab program I want to run all those from Ubuntu 12.04 32-bit OS. is there any provision to run windows applications? wine I tried, its not working, if any other available kindly explain the usage also Note : Dual boot ... (5 Replies)
Discussion started by: Akshay Hegde
5 Replies

10. UNIX for Dummies Questions & Answers

Run an application in shell script

I run the following command using the command line. I need to run the same command in shell script : ./sas.server start start is a parameter that passes to start.server to startup services within start.server. the path to sas.server is /path/Lev1 Here is my code: #!/bin/sh set... (3 Replies)
Discussion started by: dellanicholson
3 Replies
Time.localTime(3kaya)					       Kaya module reference					     Time.localTime(3kaya)

NAME
Time::localTime - Convert a time to local time. SYNOPSIS
Time localTime( Int secs=now() ) ARGUMENTS
secs The number of seconds since Jan 1 1970. This argument is optional and defaults to the current time. DESCRIPTION
Converts a time expressed in seconds since Jan 1 1970 to a Time.Time(3kaya) , using the current local timezone. AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. RELATED
Time.Time(3kaya) Time.gmTime(3kaya) Time.mkTime(3kaya) Time.time(3kaya) Kaya October 2012 Time.localTime(3kaya)
All times are GMT -4. The time now is 04:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy