Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[IDEA] Dynamic priority process
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Idea: Dynamic priority process
19th Jul, 2013, 06:42 AM
Post: #13
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Dynamic priority process
(18th Jul, 2013 09:32 AM)belese Wrote:  what do you mean by netounter watch?
if it's check network activity, could we do this for a specific port?
i've check before writing the dameon, but not find.
otherwise, i've writted the daemon, redirection work fine. will do the upstart job

not only specific port, but even specific service over port - so it can not be fooled by p2p traffic on port 80 or 443.

this is all the years in kernel under netlink, counters for IPs, directions, ports, even applications which picked up the packets.

and of course on kernel level you can directly create rules, redirections, triggers etc. all the work done for 15 years.

you could have saved so much hours of work. and again, it's on kernel level, no latency, no applications, no services needed.

almost forgot, dynamic priority control of those packets and priority handling of course included ...

how could be otherwise all the routers, switches, VoIP systems could work without it. and it's all based on linux.

7 ago I was build Alcatel VoIP system for mid-size company of 250people. LINUX. all LINUX. just few lines of code licensed from CISCO.

(18th Jul, 2013 09:32 AM)belese Wrote:  i've read a big part of the great upstart book, but misunderstood ENV and EXPORT stanzas,
is it possible to export SCREENSAVER in a job that start on screensaver, and use $SCREENSAVER in another upstart job (that start after of course)?

env will just create VARIABLE and make it available to pre/post-start/stop runs. export, will make this VARIABLE available in all jobs triggered by starting/started/stopping/stopped upstart events of that job, including all others which will be triggered by those.

if you use env VARIABLE=1, this will happen:
- VARIABLE will be created before sh spawn, so if the sh reads (gets) the VARIABLE from other place (source of an script, standard rc scritps of env in which the sh will be spawned (user related / shell related etc)) will be overwritten.

so it's like global / extern in C (if export). if env, then its like defined inside function, or better class like in python. not seen to outsiders.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Dynamic priority process - belese - 13th Jul, 2013, 12:25 AM
RE: Dynamic priority process - Fred - 13th Jul, 2013, 01:00 AM
RE: Dynamic priority process - belese - 13th Jul, 2013, 01:11 AM
RE: Dynamic priority process - mk01 - 18th Jul, 2013, 05:10 AM
Re: Dynamic priority process - f1vefour - 13th Jul, 2013, 07:44 AM
RE: Dynamic priority process - Fred - 13th Jul, 2013, 07:57 AM
RE: Dynamic priority process - belese - 13th Jul, 2013, 07:09 PM
RE: Dynamic priority process - Fred - 13th Jul, 2013, 08:57 PM
RE: Dynamic priority process - mk01 - 17th Jul, 2013, 05:52 AM
RE: Dynamic priority process - belese - 17th Jul, 2013, 07:33 PM
RE: Dynamic priority process - belese - 18th Jul, 2013, 09:32 AM
RE: Dynamic priority process - mk01 - 19th Jul, 2013 06:42 AM
RE: Dynamic priority process - belese - 18th Jul, 2013, 10:40 PM
RE: Dynamic priority process - belese - 25th Jul, 2013, 05:58 AM
RE: Dynamic priority process - CurlyMo - 25th Jul, 2013, 08:25 AM
RE: Dynamic priority process - belese - 25th Jul, 2013, 06:32 PM
RE: Dynamic priority process - belese - 26th Jul, 2013, 11:17 PM
RE: Dynamic priority process - mk01 - 12th Aug, 2013, 04:02 PM
RE: Dynamic priority process - belese - 13th Aug, 2013, 01:35 AM
RE: Dynamic priority process - mk01 - 13th Aug, 2013, 02:36 AM
RE: Dynamic priority process - belese - 14th Aug, 2013, 02:47 AM
RE: Dynamic priority process - mk01 - 14th Aug, 2013, 03:37 AM
RE: Dynamic priority process - belese - 14th Aug, 2013, 05:19 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 14th Jun, 2025, 12:10 AM Powered By MyBB, © 2002-2025 MyBB Group.