Dataflow in HLS doesn't work in real hardware implementations (13 benchmarks)

Hi all,
I use Vivaod HLS to generate a hardware IP core using streaming interface (hls::stream) and implement it using Vivado. (ARM controls DMA to send the streaming data to hardware IP and after the hardware processing the data, use DMA to transfer the result back to memory from hardware).
The C code in HLS is applied with Dataflow pragma, and the initialtion interval (II) is less than the latency reported by HLS (This is correct, because we are utilized the task level parallelism). Theoretically, the execution time should be like the following graph (Providing 4 frames data and invoking this hardware IP for 4 times) , which means that the execution cycle should be 16386*2 + 95811 * 4
However, in reality, when I implement it on real hardware and measure the execution cycle via SCUtimer on ARM, the execution time is (16386*2+ 95811) * 4, which means that we do not have any benefit from this "dataflow" task level parallelism. The whole hardware is correct and all the results sending back from device to memory are verified. The way I invoke this hardware in the host code is similar to the following pattern:
for (i=0; i<4; i++) {
start timer st;
1. Send i-th frame data from DMA to device;
2. Send i-th frame result from device to DMA;
end timer et;
time += et-st;
Any steps or things I miss here? Does anyone make the dataflow work on the real implementation? Or it just works on the HLS and can not support in Vivado.
Thanks,
Henry

henry.c wrote:
for (i=0; i<4; i++) {
start timer st;
1. Send i-th frame data from DMA to device;
2. Send i-th frame result from device to DMA;
end timer et;
time += et-st;
Hello Henry,
The way you test this does not reflect your flow / dataflow diagram.
In your test, the VHLS IP runs between steps 1 and 2 but you are still serially executing everything : DMA in , buffer in , compute , buffer out, DMA out, DMA in, buffer in, compute, buffer out, DMA out , DMA in, buffer in etc so the total time is the sum of the individual execution.
In your flow diagram (which is the same as the UG description for dataflow) you have the input buffering for frame N happening before the end (and even before the start) of output buffering of frame N-1; so you need to have your embedded code processor doing exactly that.
I'm not so familiar with the way the DMA works and if you can stack up transactions beforehand; that would be the easiest, otherwise you'll have to make it work some other way.
Also your timing measurements should be outside the for loop so that you measure the total execution. (<- that sentence is the EDIT)
I hope this helps.

Similar Messages

  • Mozilla firefox 3.6.4 doesn't work with real player.because of this i don't want to update MF 3.6.3...What can i do

    mozilla firefox 3.6.4 doesn't work with real player...can't download any videos...what can i do
    == This happened ==
    Just once or twice
    == update to 3.6.4. version

    If you install 3.6.3 and don't want it to automatically upgrade you need to open the browser and select "Tools" from the menu bar. Go to "Options". Select the "Advanced" icon. Go to the "update" tab on the "Advanced" menu. Here you can configure how and what Firefox updates.
    Hope that helps.

  • Since I updated to ios7 my virtual keyboard doesn't work in real time.

    Any suggestions on how to fix this problem?  My unlock keyboard also has a several second delay before it registers the numbers I have entered.

    Heard of a few people getting this. Usually resetting helps.
    (Hold the hold button and home button together for 10 or so seconds until you see apple logo)
    Do that a few times.
    If it doesn't work, then:
    iOS: How to back up and restore your content

  • Compositing in KDE sometimes doesn't work on Nvidia hardware

    I tried searching whether similar issue was already discussed on the forums, but didn't find anything; sorry if I missed it.
    I have two different systems with Nvidia hardware, one with a 9500M GS, and another one with a GTX 580. After updating to KDE 4.11 (as far as I remember, this issue started appearing at about that time; now it still happens with KDE 4.12) compositing in KDE sometimes doesn't work. By "sometimes" I mean that once in a while I boot the computer and compositing isn't working, then I reboot and everything is fine. Sometimes hitting Alt+Shift+F12 twice helps, but sometimes it doesn't. I didn't gather statistics, but it seems to happen on the 9500M GS system more often than on the GTX580 one. On the former it happens once in about three boots, while on the latter it's something like once per ten boots, but I may be wrong.
    I use proprietary driver, since I sometimes use the computer for gaming, and the opensource driver is still not quite up to the task. Btw, games work fine even when compositing doesn't work.
    I haven't noticed any similar issue on my other machine with Intel graphics.
    If anyone could help in identifying the cause, I would be much obliged, because I have no idea where to start searching.

    Good guess but even if I miss the word or any text, in normal use it still brings up the menu (with options limited to 'zoom in' and 'zoom out'). When I'm not getting the menu for word correction I'm not getting any menu in the body of the document at all - it's strange!

  • The counter on ebay doesn't work in real time.

    That's pretty much it in one sentence. I just rebuilt my system. Do I just need to get a newer version? I'm running windows 7 now too.
    Thanks

    I have had the same problem repeatedly - the forums are filled with similar comments - there is clearly a problem and it would appear Verizon doesn't care enough to fix it.   
    frankenheim wrote:
    I've set Do not Disturb schedule several times over the week. Also had discussion with tech support verifying I was doing everything correctly. The system will not stay with the schedule for the day. It simply blocks all incoming calls when its activated, 24 hours. 
    I had set it to block 7-9am daily but when you check call log it clearly shows calls blocked all day. 
    I've seen this same issue with others on the community chat site, so there is clearly a system error issue. 
    Please let someone at Verizon that can fix this issue know about the problem. 

  • HT5622 The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings no

    The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings nothing!

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>Game Center and sign out and sign back in
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             

  • I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. Some contacts have problems opening files sent by me using Mail too. This was never a problem on pre-Intel. A real Mac **** up !

    I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. And some contacts occasionally have problems opening files sent by me using Mail too. This was never a problem on pre-Intel Mac. A real Mac **** up ! Any ideas ?

    Can you drag and drop the attachments visible in the email to the Desktop OK or does that fail ?
    Re the sending: Are these recipients on Mac's or PC's as the file type could be an issue, if on Mac's then try setting the Mail Preferences Composing setting to Plain Text not Rich Text and see if that improves things.

  • Why the real player download feature doesn't work with my 14.0.1 firefox? in the past (before update mozzila) it was working... now it doesn't. why?

    i had a previous version of mozzilla firefox and i updated. since then, the feature of the real player doesn't work. propably isn't compatible. although, with my internet explorer it works. i went to the settings of the real player and the only explorer it shows is Internet Explorer. The Mozzilla Firefox doesn't appear. What can i do? I unistalled and reinstalled many times the real player but it isn't its problem. help me please!

    See : https://addons.mozilla.org/en-US/firefox/blocked/i106
    [https://support.mozilla.org/en-US/kb/flash-113-doesnt-load-video-firefox
    Flash 11.3 doesn't load video in Firefox]
    thank you

  • My phone is being a real pain! Time doesn't work, can't sign into iMessage and only some apps work! It also kicks me off the wifi! This is not my connections problem, it happens everywhere! Apple is terrible! Phone also freezes a lot!

    My phone is being a real pain! Time doesn't work, can't sign into iMessage and only some apps work! It also kicks me off the wifi! This is not my connections problem, it happens everywhere! Apple is terrible! Phone also freezes! What should I do!?

    Did you try the basics from the manual?
    Restart, reset, restore

  • I have a 2.2 GHz Intel Core i7 macbook pro that has lion installed when I recieved it, according to the support pages AHT is supposed to work over the internet if it wasn't installed, Mine wasn't and it doesn't work. Where can I download it from?

    I Have a 2.2 GHz Intel Core i7 macbook pro, I recieved it with OSx 7.2 lion installed, I need to us AHT (apple hardware test) according to the support page that I copy here
    Additional Information
    Apple Hardware Test is included on the DVDs that are shipped with some Macintosh computers. If the copy on your hard drive becomes unavailable, use the DVDs to run Apple Hardware Test.
    For Intel-based Apple computers that shipped with Mac OS X v10.5.4  or earlier, Apple Hardware Test is located on the Mac OS X Install Disc 1  and should be included with your computer.
    For Apple computers that shipped with Mac OS X v10.5.5 to 10.6.7, Apple Hardware Test is located on the Applications Install  Disc 2 and should be included with your computer.
    For some Apple computers that shipped with OS X Lion, if Apple Hardware Test cannot be found on the hard drive, an Internet-based version starts up instead.
    This doesn't work as the additional information statement says it should above.  Could someone at apple give me an idea of where to get it or what the "REAL" solution is, since it doesn't work on an internet version which was confirmed today at the Genius Bar in the Apple store.
    Please help me

    chrisfrommarion wrote:
    Thanks, while it worked on yours it doesn't work on mine, any other ideas?
    Are you holding down the "d" key, all by itself, just after the system shuts down for a restart?
    And how long did you hold it down?
    I held mine down for about 40-50 seconds. Then I lookat at my routers WAN light and it was flickering so I let up on the d key.
    If that does not work then maybe there is something wrong with your MBP. Is that the reason you want to run this test, something isn't right with your unit?

  • View works in Solaris in 1 minute but doesn't work in WIn2003

    We have a view is badly written. Other than the non-searchable conditions like '%*%'. What else is wrong:
    CREATE OR REPLACE FUNCTION anycon_p(neid NUMBER, joinaid VARCHAR2, sdf NUMBER, nodetype NUMBER ) RETURN N
    UMBER IS
    fromid NUMBER :=0;
    BEGIN
    if (nodeType=302 or nodetype = 303 )then
    select count(1) into fromid from JS_CM_TP tp where (tp.ne_id=neid)
    and (tp.tp_joinaid = joinaid) and (tp.tp_sdf = sdf) and (tp.crs_emlkey is not null);
    elsif (nodeType=307)then
    select count(1) into fromid from JS_CM_TP tp where (tp.ne_id=neid)
    and (tp.tp_joinaid = joinaid)and (tp.tp_sdf <= sdf)
    and (tp.tp_sdf+2 >= sdf)and(tp.crs_emlkey is not null);
    elsif (nodeType=308)then
    select count(1) into fromid from JS_CM_TP tp where (tp.ne_id=neid)
    and (tp.tp_joinaid = joinaid) and (tp.tp_sdf <= sdf)
    and (tp.tp_sdf+11 >= sdf)and(tp.crs_emlkey is not null);
    end if;
    RETURN fromid;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RETURN 0;
    END;
    CREATE OR REPLACE VIEW JS_QUERY_FAC_AVAIL_VW AS
    SELECT
    tp.NE_ID NE_ID,
    ne.NE_NAME NE_NAME,
    tp.SHELFAID shelfaid,
    c.CARD_TYPE cardtype,
    tp.TP_AID tpaid,
    tp.TP_TPTYPE tptype,
    tp.TP_RAWPST tppst,
    tp.TP_JOINAID pmaid,
    c.CARD_RAWPST cardpst,
    tp.TP_TACCID tacc,
    CASE
    WHEN c.CARD_RAWPST LIKE '%OOS%' THEN 'PM-OOS'
    WHEN tp.TP_RAWPST LIKE '%OOS%' THEN 'FAC-OOS'
    WHEN (tp.TP_LPBKCMD IS NOT NULL) AND (tp.TP_LPBKCMD NOT LIKE '%NONE%') THEN 'FAC-LPBK'
    ELSE 'IS-NOT CONNECTED'
    END AS reason,
    tp.TP_FACTYPE AS factype
    FROM
    JS_NM_NE ne,
    JS_CM_CARD c,
    JS_CM_TP tp
    WHERE
    ne.NE_ID = c.NE_ID
    AND c.NE_ID = tp.NE_ID
    AND tp.TP_JOINAID = c.CARD_AID
    AND c.CARD_RAWPST NOT LIKE '%UEQ%'
    AND (tp.TP_DV_NODETYPE='300')
    AND (tp.TP_TPTYPE ='DGR')
    AND (tp.TP_RAWPST LIKE '%OOS%'
    OR c.CARD_RAWPST LIKE '%OOS%'
    OR (tp.TP_LPBKCMD IS NOT NULL AND tp.TP_LPBKCMD NOT LIKE '%NONE%')
    OR tp.CRS_EMLKEY is null)
    AND (tp.TP_TACCID IS NULL OR tp.TP_TACCID LIKE '%0%')
    UNION ALL
    SELECT
    tp.NE_ID NE_ID,
    ne.NE_NAME NE_NAME,
    tp.SHELFAID shelfaid,
    c.CARD_TYPE cardtype,
    tp.TP_AID tpaid,
    tp.TP_TPTYPE tptype,
    tp.TP_RAWPST tppst,
    tp.TP_JOINAID pmaid,
    c.CARD_RAWPST cardpst,
    tp.TP_TACCID tacc,
    CASE
    WHEN c.CARD_RAWPST LIKE '%OOS%' THEN 'PM-OOS'
    WHEN tp.TP_RAWPST LIKE '%OOS%' THEN 'FAC-OOS'
    WHEN (tp.TP_LPBKCMD IS NOT NULL) AND (tp.TP_LPBKCMD NOT LIKE '%NONE%') THEN 'FAC-LPBK'
    ELSE 'IS-NOT CONNECTED'
    END AS reason,
    tp.TP_FACTYPE AS factype
    FROM
    JS_NM_NE ne,
    JS_CM_CARD c,
    JS_CM_TP tp
    WHERE
    ne.NE_ID = c.NE_ID
    AND c.NE_ID = tp.NE_ID
    AND tp.TP_JOINAID = c.CARD_AID
    AND c.CARD_RAWPST NOT LIKE '%UEQ%'
    AND ((tp.TP_DV_NODETYPE='302' AND tp.tp_tptype='DGR'
    AND((tp.tp_rawpst NOT LIKE '%UAS%') OR(tp.tp_joinaid NOT LIKE 'EPMX24%')))
    OR(tp.TP_DV_NODETYPE='303' AND((tp.tp_rawpst NOT LIKE '%UAS%') OR
    (NOT EXISTS ( select null from JS_CM_TP tp1
    where (tp1.ne_id = tp.NE_ID)
    where (tp1.ne_id = tp.NE_ID)
    and (tp1.tp_sdf = tp.tp_sdf)
    and (tp1.tp_dv_nodetype = '302')
    and (tp1.tp_rawpst not like '%UAS') )))))
    AND (tp.TP_RAWPST LIKE '%OOS%'
    OR c.CARD_RAWPST LIKE '%OOS%'
    OR (tp.TP_LPBKCMD IS NOT NULL AND tp.TP_LPBKCMD NOT LIKE '%NONE%')
    OR (NOT EXISTS ( select null from JS_CM_TP tp1
    where (tp1.ne_id = tp.NE_ID)
    and (tp1.tp_joinaid = tp.tp_joinaid)
    and (tp1.tp_sdf = tp.tp_sdf)
    and (tp1.crs_emlkey is not null) ) ) )
    AND (tp.TP_TACCID IS NULL OR tp.TP_TACCID LIKE '%0%')
    UNION ALL
    SELECT
    tp.NE_ID NE_ID,
    ne.NE_NAME NE_NAME,
    tp.SHELFAID shelfaid,
    c.CARD_TYPE cardtype,
    tp.TP_AID tpaid,
    tp.TP_TPTYPE tptype,
    tp.TP_RAWPST tppst,
    tp.TP_JOINAID pmaid,
    c.CARD_RAWPST cardpst,
    tp.TP_TACCID tacc,
    CASE
    WHEN c.CARD_RAWPST LIKE '%OOS%' THEN 'PM-OOS'
    WHEN tp.TP_RAWPST LIKE '%OOS%' THEN 'FAC-OOS'
    WHEN (tp.TP_LPBKCMD IS NOT NULL) AND (tp.TP_LPBKCMD NOT LIKE '%NONE%') THEN 'FAC-LPBK'
    ELSE 'IS-NOT CONNECTED'
    END AS reason,
    tp.TP_FACTYPE AS factype
    FROM
    JS_NM_NE ne,
    JS_CM_CARD c,
    JS_CM_TP tp
    WHERE
    ne.NE_ID = c.NE_ID
    AND c.NE_ID = tp.NE_ID
    AND tp.TP_JOINAID = c.CARD_AID
    AND c.CARD_RAWPST NOT LIKE '%UEQ%'
    AND tp.TP_DV_NODETYPE IN ('307')
    AND (tp.tp_aid not like '%-P-%')
    AND (tp.TP_TACCID IS NULL OR tp.TP_TACCID LIKE '%0%')
    AND (tp.TP_RAWPST LIKE '%OOS%'
    OR c.CARD_RAWPST LIKE '%OOS%'
    OR (tp.TP_LPBKCMD IS NOT NULL AND tp.TP_LPBKCMD NOT LIKE '%NONE%')
    OR (NOT EXISTS (select null from JS_CM_TP tp1
    where (tp1.ne_id = tp.NE_ID)
    and (tp1.tp_joinaid = tp.tp_joinaid)
    and (tp1.tp_sdf <= tp.tp_sdf)
    and (tp1.tp_sdf >= tp.tp_sdf-2)
    and (tp1.crs_emlkey is not null) ) ) )
    UNION ALL
    SELECT
    tp.NE_ID NE_ID,
    ne.NE_NAME NE_NAME,
    tp.SHELFAID shelfaid, c.CARD_TYPE cardtype,
    tp.TP_AID tpaid,
    tp.TP_TPTYPE tptype,
    tp.TP_RAWPST tppst,
    tp.TP_JOINAID pmaid,
    c.CARD_RAWPST cardpst,
    tp.TP_TACCID tacc,
    CASE
    WHEN c.CARD_RAWPST LIKE '%OOS%' THEN 'PM-OOS'
    WHEN tp.TP_RAWPST LIKE '%OOS%' THEN 'FAC-OOS'
    WHEN (tp.TP_LPBKCMD IS NOT NULL) AND (tp.TP_LPBKCMD NOT LIKE '%NONE%') THEN 'FAC-LPBK'
    ELSE 'IS-NOT CONNECTED'
    END AS reason,
    tp.TP_FACTYPE AS factype
    FROM
    JS_NM_NE ne,
    JS_CM_CARD c,
    JS_CM_TP tp
    WHERE
    ne.NE_ID = c.NE_ID
    AND c.NE_ID = tp.NE_ID
    AND tp.TP_JOINAID = c.CARD_AID
    AND c.CARD_RAWPST NOT LIKE '%UEQ%'
    AND tp.TP_DV_NODETYPE = '308'
    AND (tp.tp_aid not like '%-P-%')
    AND (tp.TP_TACCID IS NULL OR tp.TP_TACCID LIKE '%0%')
    AND (tp.TP_RAWPST LIKE '%OOS%'
    OR c.CARD_RAWPST LIKE '%OOS%'
    OR (tp.TP_LPBKCMD IS NOT NULL AND tp.TP_LPBKCMD NOT LIKE '%NONE%')
    OR (NOT EXISTS (select null from JS_CM_TP tp1
    where (tp1.ne_id = tp.ne_id)
    and (tp1.tp_joinaid = tp.tp_joinaid)
    and (tp1.tp_sdf <= tp.tp_sdf)
    and (tp1.tp_sdf >= tp.tp_sdf-11)
    and (tp1.crs_emlkey is not null) ) ) )
    WITH READ ONLY;

    If you think anybody's going to be able to point out flaws in that code you're mistaken. Well, maybe somebody with time on their hands will go through it but I doubt it.
    But given your subject the real point of enquiry ought to be, what is the difference between your Solaris set up and your Windows environment? And what do you mean by
    doesn't work in WIn2003please describe observed behaviour, including error messages if appropriate.
    Cheers, APC

  • Adobe 10.2 flash player doesn't work on some site with diff browsers

    WTF! I've been through every forum about new adobe flash player it doesnt work on some site i.e facebook, ustream, fox news, dailymotion and cartoon network...Nobody, not even adobe has a real solution to this problem! Some site stream good other don't at all. All I get is a blue box in the display sometimes it loads, but doesn't play the video or games. Updated Java and SWF and by the way this a brand new computer fresh out the box WIN7 64 worked before why not now! I've reinstall and uninstall, checked active X java scripting, and global settings and so on, but nothing seems to work. WHY? Global settings doesn't work for some unknown reason can't enable some of the settings. Everything work fine on my PC before the update, so go figure adobe. No! browser works with the new flash player properly. Fire, IE, Safari, and Opera none of these browser work with the flash player like it should! HELP!!! "I see why apple doesnt wont to have anything to do with adobe flash."

    I don't understand - in your post you mention "new Flash Player" several times, but in the subject you mention 10.2...?
    What is the exact FP version you have?
    For your blue box problem, have you tried to disable Hardware Acceleration?

  • BitmapData draw method doesn't work when the project is published as the .swf file of the web applic

    Hi,
            I am totally confused by this strange error. When I tried using the draw method of BitmapData to draw a movieclip symbol of my project, it seems to work fine locally. However, as I uploaded the published .swf file to my web server and launched it as the plugin of my web application, it failed. The source codes as follows,
    function printscreenClicked():void
         //ExternalInterface.call calls a javascript function to print message1
        var bd:BitmapData = new BitmapData(stage.width,stage.height);
        //ExternalInterface.call calls a javascript function to print message2
      bd.draw(stage);
        //ExternalInterface.call calls a javascript function to print message3
    message3 didn't show at all. Instead, the browser console shows "Uncaught Error: Error calling method on NPObject.". My understanding of this error message is that the .swf is calling something crashing, and I believe that bd.draw(stage)is the crashng method call.
    Also, here is my html embed tag:
        <embed src="/tests/videoplayer.swf" id="flash" quality="high" height="510" width="990" scale="exactfit" name="squambido" align="middle" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" style="margin: 0px auto;clear:both;position:relative;"/>
    Can someone help me?

    Thank you for your reply.
    I tried stageWidth and stageHeight, but it still doesn't work.
    The draw() methid is triggered when I clicked a screenshot button in my application as follows,
    ExternalInterface.addCallback("printscreenClicked", printscreenClicked);
    function printscreenClicked():void
         //ExternalInterface.call calls a javascript function to print message1
        var bd:BitmapData = new BitmapData(stage.width,stage.height);
        //ExternalInterface.call calls a javascript function to print message2
      bd.draw(stage);
        //ExternalInterface.call calls a javascript function to print message3
    Would you please give me an example of "waiting for Event.RESIZE is good, or just at least Event.ENTER_FRAME"?
    My real purpose in this application is to capture a snapshot of a streaming video. The video is contained in a movieclip object. I tried stage first since BirmapData.draw() doesn't work when drawing the movieclip on the web site. Do you have any suggestion for this situation? Also, is there any good method to find out what happened if the browser have "Uncaught Error: Error calling method on NPObject."?

  • After upgrading to ios 5 Open In doesn't work with large files

    With ios 4 I used to be able to download large video files >1 gb (avi, wmv, etc) using Downloads app and then Open In AV Player app. Now it doesn't work. What's the deal Apple?

    Same problem here.
    And found several topics seen on other sites, like: http://forums.macrumors.com/showthread.php?t=1261864
    this seems to be a real bug when reading the topics there. First thought it was related to the apps I was using, but sems to be the iOS5..
    hope this will be fixed in the next release.

  • [solved] remove grub timeout doesn't work

    i am trying to remove the grub timeout by editing /etc/default/grub and setting grub_timeout to 0, but it doesn't work, is there anything else i should change?
    p.s. should i run grub-mkconfig?
    Last edited by aldoiljazi (2013-09-18 07:35:11)

    okay i run 'sudo grub-mkconfig'
    this is my /etc/default/grub
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=0
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    and this is my /boot/grub/grub.cfg
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6b44daaa-610c-4f23-a632-569d091e4d43
    else
    search --no-floppy --fs-uuid --set=root 6b44daaa-610c-4f23-a632-569d091e4d43
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=5
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-6b44daaa-610c-4f23-a632-569d091e4d43' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6b44daaa-610c-4f23-a632-569d091e4d43
    else
    search --no-floppy --fs-uuid --set=root 6b44daaa-610c-4f23-a632-569d091e4d43
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=UUID=6b44daaa-610c-4f23-a632-569d091e4d43 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    p.s. i didn't think you needed those, because i thought they had default values.
    edit: i guess i need 'grub-mkconfig -o /boot/grub/grub.cfg '
    Last edited by aldoiljazi (2013-09-18 07:31:39)

Maybe you are looking for