Servlet CPU Scheduling

Using Weblogic 5.1 SP3 under Solaris 2.7
          We are using the native Performance Pack which allocates 3 Posix readers
          can
          we or should we tune this???
          We have an unusual situation where we want to essentially do an long
          running
          post so we can stream data back to a client much like a file transfer.
          What we are seeing is that depending on the number of Execute Threads we
          see the first
          say 12 Clients - (Using Execute Thread Count 15) start and we dont see
          our other
          say 288 clients until each of our 12 clients are almost finished
          processing.
          It would appear that the cpu allocation timeslice is not switiching
          between concurrent http clients effectively if the servlets are long
          running.
          Is there some tunning which can be done to change this???
          I know this is an unusual situation but given the nature of
          firewalls/proxyservers/load balancing hardware like ArrowPoint,F5 etc we
          need to try to use http vs native
          t3 protocol out to our clients who will be both jfc and web based.
          Any help in this area would be greatly appreciated.
          

naruto8 wrote:
write a program in any language that will simulate cpu scheduling SRTF.
1.the program will ask the user how many process to run
2.then the program will let the user input the cpu burst time for the following processes
3.the user will also input the arrival time for the processes
4.the program will then simulate the cpu scheduling srtf
5.the program should show he gantt chart, the ATT and the AWT
pleas help me with this program...We won't do your homework. What have you done so far? What's the problem?

Similar Messages

  • Windows 2008 R2 CPU Scheduling

    I have a Windows 2008 R2 Vmware VM running one application published by Citrix. I noticed the CPU usage spiked to 100% while doing an EDI export to MS Excel 2010. I increased the CPU cores by one totaling 1 Socket 6 cores. Now core 0 is higher than the other
    5 consistently. After contacting vmware I was told to ask Microsoft about CPU  scheduling. Not sure where to go from here to balance out the processes amongst all the cores.The only difference between this server and the rest is in Performance Options
    this server is set to Let Windows choose what's best for my computer instead of Adjust for best performance.

    You can also tune the priority of CPU shares through Windows System Resource Manager (WSRM), an optional server feature used for managing processor and  memory usage. WSRM's new built-in policy Weighted_Remote_Sessions can be used to assign users and
    groups into three priorities: Premium, Standard, and     Basic. As should be obvious, users in higher priorities will be given greater CPU shares than those in lower priorities.
    Regards
    Milos
    Reference: Windows IT Pro, Q&A

  • Hyperthreaded CPU Scheduling via Hyper-V

    I searched forums and documents (and books) all over for this answer pertaining to Hyper-V.
    When a guest VM is assigned 2 virtual CPUs with 100% reservation on a Hyper-V host with a processor featuring hyper-threading, does the guest VM receive guaranteed access to two
    physical cores or two logical cores?  For a thought experiment, on a single socket 2-core processor with hyper threading (4 logical cores), from my understanding Hyper-V takes physical core 0 by default leaving a single
    physical core for VMs.  What would be the result of configuring a VM with 2 virtual CPUs on this host with 100% reservation?  Would you be allowed to?  Would the vCPU scheduling be across two logical processors or would the VM fail to start
    because it requires two physical cores?

    Hi Nickmeister,
    "So,a virtual machine’s CPU count means the maximum number of threads that it is allowed to operate on physical cores at any given time. I can’t set that virtual machine to have more than two vCPUs because the host only has two CPUs. Therefore,
    there is nowhere for a third thread to be scheduled. But, if I had a 24-core system and left this VM at 2 vCPUs, then it would only ever send a maximum of two threads up to the hypervisor for scheduling. Other threads would be kept in the guest’s thread scheduler
    (the supervisor), waiting their turn. "
    Based on my understanding , we can image the procedure of physical cpu processing  can be divided to alot of
    time slices ,  more than one thread can be scheduled/switched to be processed by a processor/core .
    Hope the following article is helpful to you regarding to CPU reserve in hyper-v :
    http://blogs.msdn.com/b/virtual_pc_guy/archive/2011/02/17/hyper-v-cpu-scheduling-part-1.aspx
    Also :
    http://blogs.technet.com/b/redpill/archive/2011/02/19/hyper-v-cpu-scheduling.aspx
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • RDS CPU Scheduling for 2012 R2

    Seeing as the Windows System Resource Manager was removed from 2012 R2 how do admins prevent a user’s session from killing a server CPU wise?
    The big culprit is web browsers Internet Explorer and Google Chrome

    Hi,
    Thank you for posting in Windows Server Forum.
    For your case, I can suggest you to use Fairshare CPU Scheduling option. With this feature, if more than one user is logged on a system, processing time is limited for a given user based on the number of sessions and their loads. You can GPO setting “Turn off
    Fair Share CPU Scheduling” option and other registry setting for this. Please check below article for information.
    Resource Sharing in Windows Remote Desktop Services
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • CPU Scheduling and BarGraphs

    Hey there :) ,
    I have wrote a code which include FCFS, SJF, RR, and priority scheduling algorithm for CPU scheduling. Now what exactly my code does is it calculates the average waiting time for each algorithm. What i wanted to do is to show the result in a comparative way like for eg wanted to show average waiting time of all the algo in terms of bar graphs. Can anyone guide me how should i do that ? Thanks :) your little consideration will be a great help to me.

    ashish.escape wrote:
    Exactly, can you suggest some less complicated library or any other method to draw bar charts for different values. It all depends on what exactly you are trying to achieve. The simplest would be to divide your numbers by x and then use that number to create a String of "*" which you then display with a println call. More complex and pretty would be to create a Swing app, override a JPanel's paintComponent and start drawing rectangles with its Graphics object. If you tweak this enough to make it look decent, pretty soon you're investing enough time where it may be worth your while to study JFreeChart rather than trying to re-invent the wheel (BDLH's picture link notwithstanding).
    Bottom line: If you still want it done yourself, though, I think that you'll have to describe your desires in a lot greater detail before anyone will know just what to suggest.

  • Cpu Scheduling

    Please help me .I will highly appreciate it. I need to make a cpu simulation program .
    Details: I need to iplement a round robin CPU sheduling algorithm.in order to simulate the algorithm for different values of time quantun , I need to declare a variable and input statement for time quantum.Any data structure can be used but Queue is suggested.there will be one input file(or frame) which will have --Job ID, Arrival Time, Burst Time and another out put file(or it can be frame) with Arrival time, burst tiem, turnaround time, waiting time.
    same input data:
    Job ID Arrival time Burst time
    P1 3.62 12.76
    P2 2.14 6.78
    P3 4.43 10.78
    p4 1.24 6.69
    P5 0.45 16.72

    I remember doing this in C as an undergrad. The algo
    isn't hard but you need to take care of some special
    cases. There is a good java applet that does this. Let
    me see if i can recall it.Do u still have this applet?

  • Safari CPU scheduling problems

    When I open a tab but remain on the current tab, Safari grind to a halt while the background tab loads. This is NOT a CPU load problem, for I am monitoring the CPU and there is plenty (I am on a G4, so not even clumsy limits to a single core can excuse).
    Things like right-clicking another link to create a new tab takes an age, as does scrolling, which often invokes the beachball. It is as if the foreground page is subordinate to the background tabs.
    This is unacceptable and no excuses outside of bad programming.
    Anyone else see this?
    Message was edited by: Baron Munchausen

    I had the Safari problem in terms of it getting hung up while loading web addresses and had to go through diagnostics every time I moved the laptop from office network to home instead of it switching automatically. How do I tell if Little Snitch is still there? I can see it in the download queue, but no where else. Also, even tho I have to switch manually to the office network and Safari is slow, at least I stay online here without Safari stopping or getting error messages, which makes me wonder if my router is messed up and contributing to problems. I have reset and unplugged my home router with no apparent effect. Sally

  • CPU scheduling simulator

    I want to Implement a simulator for a shared memory multiprocessor in Java.
    I want to develop it as a GUI application. Can anybody tell me how it must be looked like.
    It will be great help if I can execute and watch some scheduling simulator. So if you have one already, could you please share it wt me?
    Many thanks in advance
    Ann

    How about SID from Redhat?
    http://sources.redhat.com/sid/

  • [Solved IO/CPU]Determine currently running scheduler

    This really isn't an issue so much as it is a general question: Is it possible to determine the currently used CPU scheduler in the kernel?
    I've been using -ck after switching from -bfs but still using the BFS scheduler (so I hope). However, recently I noticed my cores aren't all maxed and I'm wondering if that has something to do with it not compiling with the proper scheduler, or if it has something to do with F@H, which has some messages I've never seen before about "Extra SSE boost OK"
    I tried googling, and grep'ing through /proc, but I don't know where to look. Found some good articles on the programming behind them, though If it's not possible to find out while it's running, is there some way I could look at the binary or something? Thanks for your help.
    Last edited by jac (2010-01-25 04:33:33)

    falconindy wrote:% dmesg | grep BFS
    BFS CPU scheduler v0.313 by Con Kolivas.
    D,oh! Didn't even cross my mind to check dmesg, thank you! It seems it's worknig fine, so it is something different with F@H
    @B: Thanks, now I know how to get the io scheduler when I screw with that too

  • Error while scheduling the report in bi publisher

    oracle.apps.xdo.servlet.scheduler.ProcessingException: Error occurred while scheduling the job.
         at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.getDateObject(SchedulerServlet.java:2202)
         at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1394)
         at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:289)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:80)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Hi,
    I am newly using BI publisher . I am using 10.1.3.4.0 . I am just trying to create a report in test name. that is the first step to create a report where i am getting error. I am using default RPD paint , where all the user and Groups are defined .

  • Scheduling Error

    Hello,
    I am getting the following error when trying to schedule a report:
    oracle.apps.xdo.servlet.scheduler.ProcessingException: Error occurred while scheduling the job.
         at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.getDateObject(SchedulerServlet.java:2202)
         at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1394)
         at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:289)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:80)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    I can run a report immediately but cannot schedule it.
    Any help would be appreciated.
    Thanks!

    You've installed the scheduler schema in a database?

  • Job scheduling failed because the user has no permission to access this rep

    Hi. I've OBIP 10.1.3.4.1.
    When I launch a print with the scheduler I see this error:
    oracle.apps.xdo.servlet.scheduler.ProcessingException: Job scheduling failed because the user has no permission to access this report. [REPORT_URL]=[folderreport/report/report.xdo], [USERNAME]=[administrator]
         at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1140)
         at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:295)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    In this env. I've a LDAP Security Model and all the report and all the users work.

    Please check whether you have assigned below responsibility to the user trying to schedule report.
    XMLP_SCHEDULER

  • Error occurred while scheduling the job.

    Hi Tim,
    I am getting following error when ever I use any other option than 'Run Immediately' I am getting following error.
    Please help me.
    oracle.apps.xdo.servlet.scheduler.ProcessingException: Error occurred while scheduling the job.
    at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.getDateObject(SchedulerServlet.java:2202)
    at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1603)
    at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:289)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:80)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Thanks,
    Vara

    Hi Vara
    You have the scheduler set up now right? Can you schedule for the future ? Im assuming not but worth asking :)
    Are there any other errors in the stack. Upon starting the server does the Quartz piece initialize OK - you'll see it when starting the j2ee container
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • SQLException Scheduling error

    I'm using BIP 10.1.3.3 against a 10.2.0 database and getting the following error when I try and schedule a report
    oracle.apps.xdo.servlet.scheduler.ProcessingException: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: No more data to read from socketError Code: 17410
    Call:UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + 1 WHERE SEQ_NAME = 'SUBSCRIPTION_ID_SEQ'
    Query:DataModifyQuery()
         at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:599)
         at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1852)
         at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:289)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:65)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: No more data to read from socketError Code: 17410
    Call:UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + 1 WHERE SEQ_NAME = 'SUBSCRIPTION_ID_SEQ'
    Query:DataModifyQuery()
    Can anybody help ?
    Cheers,
    Brent

    Hi Brent,
    I am getting the same error even though I configured my scheduler.I was searching for this error on net and that brought me to this page.
    If you any solution for the problem kindly share with me.
    -Chandra

  • Java.lang.NullPointerException while scheduling

    Hi All,
    I am trying to schedule my simple sql query based report ( no bursting) to email(email server is already configured). When I schedule through GUI and click on submit button , I get following error message
    java.lang.NullPointerException
    Error in Detail:
    oracle.apps.xdo.servlet.scheduler.ProcessingException: java.lang.NullPointerException
             at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:830)
             at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1896)
             at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:293)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
             at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
             at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
             at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
             at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
             at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
             at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
             at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
             at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
             at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
             at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
             at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
             at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
             at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:821)
             ... 16 more
    Though the same report is working fine on one more computer. What could be the problem? Do I need to do some specific configurations?
    Thanks !
    -Sookie

    Thanks Hareesh,
    ya that  "callsapadapter"  was the culprit. It comes by itself, Once I removed that PGP was working fine.

Maybe you are looking for