GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

L3 Microkernel The context for this question is the same as…

L3 Microkernel The context for this question is the same as the previous question. You are the Lead Systems Architect for FlashTrade, a High Frequency Trading (HFT) firm. You are designing a specialized OS kernel on top of L3 microkernel to host four client trading algorithms on a single server while ensuring strict proprietary data isolation. The processor architecture you are targeting has the following features:  A 32-bit hardware address space.  Paged virtual memory system (8KB pages) with a processor register called PTBR that points to the page table in memory.  A Tagged TLB supports tagging entries with Address Space IDs (ASIDs).  A pair of hardware-enforced segment registers (base and limit) which restrict the virtual address range accessible by a process.  A virtually indexed, physically tagged processor cache.  Your system runs a shared Kernel Lib (K), which requires 512 MB, and four client protection domains. Each client runs as a user level process.  The clients use services provided by the Kernel Lib (libraries for network access, memory management, and CPU scheduling). You design the hardware address spaces for each client as follows:  Client A: Kernel Lib (512 MB) + Trading Model (2.5 GB)  Client B: Kernel Lib (512 MB) + Trading Model (2.5 GB)  Client C: Kernel Lib (512 MB) + Trading Model (1.5 GB) + Forecast Model (1.5 GB)  Client D: Kernel Lib (512 MB) + Trading Model (3 GB)   e) [2 points] Answer True/False with justification. No credit without justification. The design guarantees that the clients are protected from the Kernel. 

Read Details

M.E. Lock You have designed a bus-based custom non-cache-coh…

M.E. Lock You have designed a bus-based custom non-cache-coherent shared memory DSP (Digital Signal Processor). Each CPU in the DSP has a private cache. The hardware provides the following primitives for the interaction between the private cache of a CPU and the shared memory:  fetch(addr): Pulls the latest value from main memory into the cache  flush(addr): Pushes the value at addr in the cache to main memory; it does not evict it from the cache  hold(addr): Locks the memory bus for addr; no other core can fetch or flush this address until released  unhold(addr): Releases the lock on addr You got this generic implementation for a ticket lock algorithm and tried it on your architecture. It did not work.   struct ticket_lock {    int next_ticket;  // The next ticket number to give out     int now_serving;  // The ticket number currently allowed to enter};  void lock(struct ticket_lock *l) {    // Acquire ticket    int my_ticket = l->next_ticket++;      // Wait for turn    while (l->now_serving != my_ticket) {    // Spin    }} void unlock(struct ticket_lock *l) {    l->now_serving++;   // Release}    a) [1 point] Identify any one potential flaw in the lock function when implemented on your architecture.

Read Details

Which items belong in a prescriptive decision memo that acco…

Which items belong in a prescriptive decision memo that accompanies the dashboard?

Read Details

On the force vs. distance curve, the elastic modulus at 0 K…

On the force vs. distance curve, the elastic modulus at 0 K is proportional to:

Read Details

Face centered cubic (FCC) crystal structure has higher atomi…

Face centered cubic (FCC) crystal structure has higher atomic packing factor than Body-centered cubic (BCC) structure.

Read Details

Which of the following best describes anisotropy?

Which of the following best describes anisotropy?

Read Details

Ne fais pas ça! You are babysitting for your neighbor’s thre…

Ne fais pas ça! You are babysitting for your neighbor’s three children. Tell them what to do and what not to do by using the imperatif form. (when using the imperatif, you don’t use the subject pronouns or noun) Modèle Blandine et Thomas / nettoyer vos chambres Nettoyez vos chambres! Pay attention, #1 and #4 should be negative command, use “Ne….pas” 1. Rémi / ne pas dire de mensonges (lies) [BLANK-1] 2. Blandine / être patiente avec ton frère [BLANK-2] 3. Thomas et Rémi / donner à manger aux chiens [BLANK-3] 4. Thomas / ne pas tomber de la chaise [BLANK-4] 5. Blandine et Rémi / ne pas oublier d’écrire une lettre à votre grand-mère [BLANK-5]

Read Details

À l’hôtel Fill in the blanks Activity Instructions Label…

À l’hôtel Fill in the blanks Activity Instructions Label this illustration of a hotel lobby with the appropriate new French words that you learned in this lesson.  Include the definite articles in your answers. 00186729(1).jpg [BLANK-1] [BLANK-2] [BLANK-3] [BLANK-4] [BLANK-5] [BLANK-6]

Read Details

Which of the following best describes Dr. Martin Luther King…

Which of the following best describes Dr. Martin Luther King’s point of view when writing the Letter from Birmingham Jail?

Read Details

Consider the following hypothetical scenario: The United Sta…

Consider the following hypothetical scenario: The United States releases a new Indo-Pacific Strategy. It says that our goal is to advance a free and open Indo-Pacific; our ways involve building collective capacity with our allies and partners; and our means include modernizing our alliances and establishing flexible partnerships. It goes on to suggest that China will challenge this approach by using its economic, diplomatic, and technological might to coerce our allies and partners. According to lecture, is this plan an example of an effective strategy?

Read Details

Posts pagination

Newer posts 1 2 3 4 5 … 78,211 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top