Ubuntu :: What Is Disk Scheduling And How Does It Work?
Apr 16, 2010what is disk scheduling and how does it work? and how is it done in ubuntu 9.1
View 2 Replieswhat is disk scheduling and how does it work? and how is it done in ubuntu 9.1
View 2 Replieshow can I use sar in order to get information about the scheduling?
View 1 Replies View RelatedI am wondering about scheduling audio playback under Ubuntu. The background is this: My birthday is fast approaching, and I always try to do something to remember the best birthday gift I ever received, that being the Apollo 11 mission; Neil and Buzz landed on my 12th birthday.
Anyway, I have a wagonload of audio from nasa.gov and would like to schedule the MP3s to play in real time. 'at' won't do it, at least with 'mplayer'; I've tried. I suspect that because there is no controlling terminal for jobs run under 'at', the audio has no place to go. Is there some way to get a controlling terminal for these audio playback jobs, or specify a destination to some player?
I can not get 'crontab' to work.Below is the results of 'crontab -e':
Code:
10 * * * * /usr/bin/sigrot
0 18 * * 5 /usr/bin/tff-meeting-mail.sh
[code]....
I was searching for many time but haven't found any solution. Cron would be great, but it allows only steps in range 1-59 minutes. Is there any mode to run something exactly every 73 minutes?
The second i need (the same problem) to run program little more than every 12 hours, it might be in steps of 12 hours and 4 minutes (but 13 hours is much too much).
I have a computer running Ubuntu 9.10 as a server (it is in standard Ubuntu not Ubuntu server edition). I have 4 1TB hard drives, three of which I want to back up to on certain days of the week. I have tried using Lucky-Backup and Rsync but neither seem to be able to handle the amount of data (there is currently about 400GB). Does anyone know of a program that can run scheduled backups of this size?
View 3 Replies View Relatedgood download manager for ubuntu with scheduling support .I tried wxdownloadfast , fatrat, roxbird, multiget . The roxbird didn't start at all . In other three, downloading works but scheduling simply doesn't work . Nothing happens at the scheduled time.I prefer a graphical one because I can suggest it to my friends using ubuntu . If you know a working (I mean scheduling) command line one, please tell that too am using 64bit ubuntu lucid . I don't know whether that is the reason why scheduling didn't work
View 2 Replies View RelatedI have a script to record a weekly radio show from a Sydney radio station.I am in Brisbane.Sydney and Brisbane are both in the same time zone but Sydney(NSW) bounces around on daylight savings time and Brisbane(QLD) does not. Is there a way to specify a timezone for a specific job in the crontab file? If so what would be the format for Sydney so it follows the daylight savings time changes? Right now I will just change the cron schedule when Sydney goes on and off DST.
View 9 Replies View RelatedI have a cron job to schedule the task on the third sunday of the month.I saw the previous threads but didn't find any solution.
How the cron syntax can be written.
We are seeing some strange behavior on a Set top Box with the scheduling of tasks. We use 2.6.12 kernel. The issue is when we create a Task, say task1 with a priority of 46.But,this task is not Scheduled to run by the scheduler right away. It gets chance to run only after sometime. What we see here is that I create many other tasks with lower priority than task1,but they are immediately scheduled. Ideally, the task1 should have got scheduled before certain other low priority tasks as it has higher priority. Any patch is available wrt this?
View 3 Replies View RelatedI've searched for ways to do this with cron and come up empty. I want to schedule the update manager downloads for the 2-7am hours to avoid being penalized by my satellite service provider for excessive downloads. No, I can't change providers as I live in a rural area where it's the only relatively high speed option
View 4 Replies View RelatedI am a Mac user who has been using Audio Hijack Pro for many years. I use it to record radio shows from the station I work at. One of the nice features is that it has a built in scheduler that I use to record shows at different times and dates.[URL]
View 5 Replies View RelatedIf I wanted to schedule a perl script to run every weekday at 1800 hours, should I setup a cron job. once I do so, if I want to cancel it, how do I undo it. Do I have to just type this at the shell prompt to set up:
Code:
0 18 * * 1-5 root /home/test.pl
kindly give me example of earliest deadline first scheduling?
View 5 Replies View RelatedI want to change linux scheduling algorithm for some of my processes but when I click on processes in ksysguard and click renice project, all of the processes use normal level cpu scheduling. Why is it such a thing and there is no priority?
View 2 Replies View Relatedi think we can simulate preemption by using 2 different priority thread, am i true? I just try these scenario :
1. Create Thread A with priority 99 , SCHED_FIFO..
2. Create Thread B with priority 4 , SCHED_FIFO
Thread A started and doing some busy work.. I guess that Thread B wouldn't start until thread A finished, but I get thread B can run before Thread A finished (It just like a common task switching).. I'm sure my 2 thread has right priority. and if thread B is doing some work and if i yield it to thread A, it should preempt it but this doesnt happen, do someone kno wats happening?
I have a program which is uses sigaction to register for a SIGIO signal (for incoming data on a fd) with an appropriate event handler. I also create a new detached thread 'B' that does some work with the received data. Normally the thread B runs properly. But when my event handler is called (because a there is new incoming data), after the event is handled, the thread B is not called immediately. There is a noticeable delay of the order of many seconds before it is scheduled again .During this delay, my program is doing nothing.
What am i doing wrong? Is there someway i can run thread B as soon as the event is handled (and assuming no other work is to be carried out)?
Can anyone tell me where i can find patch for WFQ scheduling in ns2
View 3 Replies View Relatedi want to do scheduling using /etc/crontab file instead of using crontab -e that is crontab command on the terminal.i am appending to the crontab file in the /etc directory but the scheduling is not happening
View 7 Replies View Relatedis linux kernel is priority preemptive kernel?if it is. where it is using round robin scheduling algorithm?when processes are scheduled for the processor process will be allocated as which sechudling alogorithm?
View 1 Replies View Relatediam try to schedule my job in a file made in /etc/cron.d file as follows* * * * * tomcat6 /home/etika/Desktop/eka.sh /home/etika/Desktop/ea/etika.txt abc@gmail.comwhere eka.sh belongs to etika which is the root and etika.txt belong to tomcat6 this command is not running iam confused about the name of the owner written after the *'s please tell me whose name is written after the *'s(the schedule of the script) the owner of the script or the owner of the file which iam passing as an argument to the shell script
View 2 Replies View RelatedI want to run a program at a precise second on a computer. I know cron can do it but I do not know how accurate it is. Is there a program so you can more precisely run a program at a defined time?
View 14 Replies View RelatedDoes anyone know how to run 2 threads with round robin scheduling. & can we get the time of these threads when they are context switching. That means I want to know at how much time each thread is taking to run
View 3 Replies View RelatedSome of you are probably not going to believe this, but I've been using Linux for like four years and have never used cron for task scheduling before. Now I want to and I'm not sure how to do it. Could somebody link me to some good info? The results of a Google search were kinda confusing.
View 5 Replies View RelatedI'm trying to get my backup script to run every week, but as a normal user, and not as root as it is done when the script is placed in /etc/cron.weekly. Anacron fits my needs in the sense that it doesn't require my computer to always be on, as opposed to cron, and will just run my script when it can, but at the most each week. Cron fits my needs in the sense that I can run the script as the user I am logged in as. The particular script backs up my home directory with rdiff-backup, and it is very convenient that I am the owner of that backup, since when root performs the backup, I am unable to browse my own backup files and must use "sudo" to do this.
Is there a way to let me use the feature of anacron that allows my computer to not always be on, but still get a weekly execution, and also run the script as a normal (non-root) user?
I'm setting up some computers as kiosks, and would to scedule updates to be downloaded and installed without the user having to enter their sudo password, perhaps at midnight or something like this. What is the quickest way to do this on ubuntu?
View 2 Replies View Relatedcant I simply take a working ubuntu hard drive and dd copy it onto another disk. Then put the disk in the other pc and it will work?
This way I could configure a machine at home, take the disk with me and use it at a place with no internet access.
When windows was installed I could boot to a windows promp and then I could take out the cd or usb and install another one with a program and run it. why my computer bios will not let me do this now that I have a ubuntu load? I'm sure there is a logical explanation. Also maybe a work around? (It will run a windows or ubuntu install cd or usb but no simple boot disk.)
View 5 Replies View RelatedI have a timer thread, and when it expires, it sets a flag. The only problem is, if any higher priority thread comes in between, then the timer is not expired in real time.Thus i want to set a highest priority to my thread. Now, i know 2 algos, which can make my thread in real time are: SCHED_FIFO and SCHED_RR.
So, here are my queries: 1) Which scheduling algo is best suited for this purpose? 2) Is it guaranted to work in real time if i use that algo (you suggest in 1) and set the max_priority by getting the maximum settable priority for that particular algorithm using, int sched_get_priority_max(int policy);
I have played around a little bit with CGROUPS and the fair group scheduler ( using kernel version 2.6.31). When you have CGROUPS in a flat structure, with only one layer from the root-cgroup, everything works as you might expect when setting the cpu.shares parameter, i.e. a fraction of the total. But when I experimented with having deeper levels of CGROUPs it did'nt make any sense sometimes. For example, I had one CGROUP with the maximum number of shares (260000 something) , and two childgroups with quite little shares, 5000. Then I created some cpuhogging processes ( while(1); ) and put most of them in childgroups and one in the parentgroup. The logical thing would be if the parentgroups single process took almost all CPU-time, as it had the maximum number of shares, but instead the processes in the childgroups got the most CPU-time.
I have tried to figure out how it works by looking at the source code, but I can't really understand it. How does the hierarchical structure of the cgroup-tree interact with the flat aspect of it, i.e. siblings? Or do I misunderstand the whole concept?